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 /release-common.nix | |
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 'release-common.nix')
-rw-r--r-- | release-common.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release-common.nix b/release-common.nix index b6c8f3d81..7e7de005d 100644 --- a/release-common.nix +++ b/release-common.nix @@ -55,6 +55,7 @@ rec { # Tests git mercurial + gmock ] ++ lib.optionals stdenv.isLinux [libseccomp utillinuxMinimal] ++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium |