summaryrefslogtreecommitdiffstats
path: root/build-aux/autotest.am
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/autotest.am')
-rw-r--r--build-aux/autotest.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/build-aux/autotest.am b/build-aux/autotest.am
index a4bb8ea..19054c5 100644
--- a/build-aux/autotest.am
+++ b/build-aux/autotest.am
@@ -4,6 +4,15 @@ DISTCLEANFILES += at/atconfig
AUTOTEST_DEPS = at/atconfig at/atlocal $(TESTSUITE)
+TEST_VERBOSE ?= 0
+TEST_PARALLEL ?= 1
+
+TEST_VERBOSE_OPT = $(TEST_VERBOSE:0=)
+
+TESTSUITEFLAGS =
+TESTSUITEFLAGS += -j$(TEST_PARALLEL)
+TESTSUITEFLAGS += $(TEST_VERBOSE_OPT:1=--verbose)
+
# The ":;" works around a Bash 3.2 bug when the output is not writable.
$(srcdir)/at/package.m4: $(top_srcdir)/configure.ac
:;{ \