aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/local.mk13
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/functional/local.mk b/tests/functional/local.mk
index d60f1e08e..5eec6df9e 100644
--- a/tests/functional/local.mk
+++ b/tests/functional/local.mk
@@ -1,3 +1,7 @@
+# whether to run the tests that assume that we have a local build of
+# Nix
+HAVE_LOCAL_NIX_BUILD ?= 1
+
nix_tests = \
test-infra.sh \
init.sh \
@@ -118,7 +122,6 @@ nix_tests = \
flakes/show.sh \
impure-derivations.sh \
path-from-hash-part.sh \
- test-libstoreconsumer.sh \
toString-path.sh \
read-only-store.sh \
nested-sandboxing.sh
@@ -127,8 +130,12 @@ ifeq ($(HAVE_LIBCPUID), 1)
nix_tests += compute-levels.sh
endif
-ifeq ($(BUILD_SHARED_LIBS), 1)
- nix_tests += plugins.sh
+ifeq ($(HAVE_LOCAL_NIX_BUILD), 1)
+ nix_tests += test-libstoreconsumer.sh
+
+ ifeq ($(BUILD_SHARED_LIBS), 1)
+ nix_tests += plugins.sh
+ endif
endif
$(d)/test-libstoreconsumer.sh.test $(d)/test-libstoreconsumer.sh.test-debug: \