aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/tests/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/tests/local.mk')
-rw-r--r--src/libutil/tests/local.mk15
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)