1
0
Fork 0
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:
Tobias Pflug 2020-05-05 17:56:46 +02:00
parent 74a1bfdcab
commit 58ed1e6d68
4 changed files with 601 additions and 1 deletions

View file

@ -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