diff options
author | Karl Berry <karl@freefriends.org> | 2020-12-07 15:53:01 -0800 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-12-07 15:53:01 -0800 |
commit | 95da1185edb9bdf1d7bbc2cd2200ab29dabb3a33 (patch) | |
tree | 4d6407557773583801e3d4ed0ed8ff13083e07e8 /contrib/t/multilib.sh | |
parent | 46420770f96f77b0ca0be8a90919ba2378415481 (diff) | |
download | automake-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/multilib.sh')
-rwxr-xr-x | contrib/t/multilib.sh | 5 |
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 |