about summary refs log tree commit diff
path: root/tests.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tests.mk')
-rw-r--r--tests.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests.mk b/tests.mk
index 8a3bff66e890..339abd5803f1 100644
--- a/tests.mk
+++ b/tests.mk
@@ -6,15 +6,15 @@ define run-install-test =
   # Run the test in its own directory to mimick Automake behaviour.
   $1.run: $1 $(_PREV_TEST)
 
-  _installcheck_list += $1
+  _installcheck-list += $1
 
 endef
 
 installcheck: install
-	@total=0; failed=0; for i in $(_installcheck_list); do \
+	@total=0; failed=0; for i in $(_installcheck-list); do \
 	  total=$$((total + 1)); \
 	  echo "running test $$i"; \
-	  if (cd $$(dirname $$i) && $(TESTS_ENVIRONMENT) $$(basename $$i)); then \
+	  if (cd $$(dirname $$i) && $(tests-environment) $$(basename $$i)); then \
 	    echo "PASS: $$i"; \
 	  else \
 	    echo "FAIL: $$i"; \