diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-05-08 17:02:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 17:02:25 +0200 |
commit | d3d8186c9c9a4f4734d1604b19047f11b0edb049 (patch) | |
tree | 175391421d04419b366e648631134b0917496eef /src/libutil/tests/local.mk | |
parent | 41caaaad365b8e5260069c20458a2043254a6989 (diff) | |
parent | 181a47d8845e06edc9653e99de589376a1a96bb6 (diff) |
Merge pull request #3571 from gilligan/nix-unit-testing
Add unit tests
Diffstat (limited to 'src/libutil/tests/local.mk')
-rw-r--r-- | src/libutil/tests/local.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libutil/tests/local.mk b/src/libutil/tests/local.mk new file mode 100644 index 000000000..a297edb64 --- /dev/null +++ b/src/libutil/tests/local.mk @@ -0,0 +1,15 @@ +check: libutil-tests_RUN + +programs += libutil-tests + +libutil-tests_DIR := $(d) + +libutil-tests_INSTALL_DIR := + +libutil-tests_SOURCES := $(wildcard $(d)/*.cc) + +libutil-tests_CXXFLAGS += -I src/libutil + +libutil-tests_LIBS = libutil + +libutil-tests_LDFLAGS := $(GTEST_LIBS) |