aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/tests/local.mk
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-29 12:37:32 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-29 13:52:57 -0500
commitec0c0efec6d7eed868b424434748b97651e02bcc (patch)
tree29ced9d126d9db8eced4e0ab380a990dbda51885 /src/libexpr/tests/local.mk
parent6772e9ed0ac7853cefdeb6b354c81cba531829f2 (diff)
Allow unit test infra to be reused across libs' tests
This allows using Arbitrary "instances" defined in libstore-tests in libexpr-tests, something we will leverage in a moment.
Diffstat (limited to 'src/libexpr/tests/local.mk')
-rw-r--r--src/libexpr/tests/local.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libexpr/tests/local.mk b/src/libexpr/tests/local.mk
index e483575a4..6b766d82a 100644
--- a/src/libexpr/tests/local.mk
+++ b/src/libexpr/tests/local.mk
@@ -2,6 +2,8 @@ check: libexpr-tests_RUN
programs += libexpr-tests
+libexpr-tests_NAME := libnixexpr-tests
+
libexpr-tests_DIR := $(d)
libexpr-tests_INSTALL_DIR :=
@@ -12,6 +14,6 @@ libexpr-tests_SOURCES := \
libexpr-tests_CXXFLAGS += -I src/libexpr -I src/libutil -I src/libstore -I src/libexpr/tests
-libexpr-tests_LIBS = libexpr libutil libstore libfetchers
+libexpr-tests_LIBS = libstore-tests libexpr libutil libstore libfetchers
libexpr-tests_LDFLAGS := $(GTEST_LIBS) -lgmock