mirror of
https://github.com/NixOS/nix
synced 2025-07-08 06:53:54 +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
|
@ -55,6 +55,7 @@ rec {
|
|||
# Tests
|
||||
git
|
||||
mercurial
|
||||
gmock
|
||||
]
|
||||
++ lib.optionals stdenv.isLinux [libseccomp utillinuxMinimal]
|
||||
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue