tests: cosmetic changes in t/extra-sources.sh
[platform/upstream/automake.git] / t / Makefile.inc
index 3634a4b..b67f3a5 100644 (file)
@@ -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