diff options
author | Tobias Pflug <tobias.pflug@gmail.com> | 2020-05-05 17:56:46 +0200 |
---|---|---|
committer | Tobias Pflug <tobias.pflug@gmail.com> | 2020-05-06 15:57:05 +0200 |
commit | 58ed1e6d6842688ac2d32355265e0d89049f7e36 (patch) | |
tree | cffc48314d138c32c529f0d66f2aba9c58afd34b /Makefile | |
parent | 74a1bfdcab03d3c6ecb9353f4bae0a0c550ddb98 (diff) |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |