summaryrefslogtreecommitdiff
path: root/t/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 't/Makefile.inc')
-rw-r--r--t/Makefile.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/Makefile.inc b/t/Makefile.inc
index 3634a4be0..b67f3a581 100644
--- a/t/Makefile.inc
+++ b/t/Makefile.inc
@@ -239,6 +239,12 @@ check-cc-no-c-o:
AM_TESTSUITE_SIMULATING_NO_CC_C_O=yes
.PHONY: check-cc-no-c-o
+# Automake-generated Makefiles should work when run with parallel make.
+check-parallel:
+ $(AM_V_GEN)$(MAKE) $(AM_MAKEFLAGS) check \
+ AM_TESTSUITE_MAKE="$${AM_TESTSUITE_MAKE-$${MAKE-make}} -j4"
+.PHONY: check-parallel
+
## Checking the list of tests.
test_subdirs = %D% %D%/pm contrib/%D%
include %D%/CheckListOfTests.am