aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/tests/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-10-04 14:29:42 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-10-04 14:29:42 +0200
commit77ebbc9f5425d84e1fed71c8b060c7cc1a57ae79 (patch)
tree8aa1ccab1a3448f502078457ee6e96f8921da7fa /src/libstore/tests/local.mk
parentef34fd0656e844ccc54fd105cdda9970d7e944b4 (diff)
Add a test for RefScanSink and clean up the code
Issue #5322.
Diffstat (limited to 'src/libstore/tests/local.mk')
-rw-r--r--src/libstore/tests/local.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libstore/tests/local.mk b/src/libstore/tests/local.mk
new file mode 100644
index 000000000..6ae9a0285
--- /dev/null
+++ b/src/libstore/tests/local.mk
@@ -0,0 +1,15 @@
+check: libstore-tests_RUN
+
+programs += libstore-tests
+
+libstore-tests_DIR := $(d)
+
+libstore-tests_INSTALL_DIR :=
+
+libstore-tests_SOURCES := $(wildcard $(d)/*.cc)
+
+libstore-tests_CXXFLAGS += -I src/libstore -I src/libutil
+
+libstore-tests_LIBS = libstore
+
+libstore-tests_LDFLAGS := $(GTEST_LIBS)