aboutsummaryrefslogtreecommitdiff
path: root/tests/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tests/local.mk')
-rw-r--r--tests/local.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/local.mk b/tests/local.mk
index 6f38853bc..936b72c2a 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -48,7 +48,6 @@ nix_tests = \
flakes.sh \
flake-local-settings.sh \
build.sh \
- compute-levels.sh \
repl.sh ca/repl.sh \
ca/build.sh \
ca/build-with-garbage-path.sh \
@@ -63,6 +62,10 @@ nix_tests = \
eval-store.sh
# parallel.sh
+ifeq ($(HAVE_LIBCPUID), 1)
+ nix_tests += compute-levels.sh
+endif
+
install-tests += $(foreach x, $(nix_tests), tests/$(x))
tests-environment = NIX_REMOTE= $(bash) -e