summaryrefslogtreecommitdiff
path: root/contrib/t
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-07 15:53:01 -0800
committerKarl Berry <karl@freefriends.org>2020-12-07 15:53:01 -0800
commit95da1185edb9bdf1d7bbc2cd2200ab29dabb3a33 (patch)
tree4d6407557773583801e3d4ed0ed8ff13083e07e8 /contrib/t
parent46420770f96f77b0ca0be8a90919ba2378415481 (diff)
downloadautomake-95da1185edb9bdf1d7bbc2cd2200ab29dabb3a33.tar.gz
tests: more .NOTPARALLEL tests.
* contrib/t/multilib.sh: use .NOTPARALLEL to avoid unreproducible (and undebuggable, by me) test failures when running make -j$njobs AM_TESTSUITE_MAKE="make -j$njobs" for some arbitrary but rather large value of $njobs. The failures don't occur with just make -j; have to run the makes inside the tests in parallel also. * t/java-compile-install.sh: likewise. * t/java-compile-run-flat.sh: likewise. * t/java-uninstall.sh: likewise. * t/vala-headers.sh: likewise.
Diffstat (limited to 'contrib/t')
-rwxr-xr-xcontrib/t/multilib.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/t/multilib.sh b/contrib/t/multilib.sh
index 4b767d7f6..4b336a3b2 100755
--- a/contrib/t/multilib.sh
+++ b/contrib/t/multilib.sh
@@ -61,6 +61,11 @@ check-all:
test -f debug/libbar/libbar.a
test -f libfoo/libfoo.a
test -f libbar/libbar.a
+# Tell GNU make not to parallelize, since the tests can result in, for example:
+# make[5]: *** No rule to make target 'mostlyclean'. Stop.
+# make[5]: Leaving directory '/u/karl/gnu/src/akarl/contrib/t/multilib.dir/build/debug/libbar/sub'
+# No evident way to debug or reliably reproduce.
+.NOTPARALLEL:
EOF
# libfoo tests multilib supports when there are no subdirectories