mirror of
https://github.com/NixOS/nix
synced 2025-07-13 17:10:47 +02:00
WIP: add unit tests for libutil
This is a proof on concept to evaluate writing unit tests for Nix using google test (https://github.com/google/googletest). In order to execute tests: $ make unit-tests $ ./unit-tests The Makefile rules for `unit-tests` is a complete hack.
This commit is contained in:
parent
74a1bfdcab
commit
58ed1e6d68
4 changed files with 601 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -16,7 +16,8 @@ makefiles = \
|
|||
misc/upstart/local.mk \
|
||||
doc/manual/local.mk \
|
||||
tests/local.mk \
|
||||
tests/plugins/local.mk
|
||||
tests/plugins/local.mk \
|
||||
tests/unit-tests/local.mk
|
||||
|
||||
-include Makefile.config
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue