summaryrefslogtreecommitdiff
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, 5 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk
index f712b531..df5551ba 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -160,6 +160,11 @@ clean-local:
check-local: tests/atconfig tests/atlocal $(TESTSUITE)
+$(run_testsuite) $(TESTSUITEFLAGS)
+# Automake doesn't know how to regenerate this file because
+# it's created via AC_CONFIG_COMMANDS.
+tests/atconfig: $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+
# Run the test suite on the *installed* tree.
installcheck-local: tests/atconfig tests/atlocal $(TESTSUITE)
+$(run_testsuite) AUTOTEST_PATH="$(bindir)" $(TESTSUITEFLAGS)