From: Karl Berry Date: Wed, 9 Dec 2020 23:02:19 +0000 (-0800) Subject: tests: more .NOTPARALLEL tests. X-Git-Tag: v1.16.4~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f044de10974d53c76b0e1beb36075c3769b7cd6;p=thirdparty%2Fautomake.git tests: more .NOTPARALLEL tests. * t/java-compile-run-nested.sh: .NOTPARALLEL in subdirs too. --- diff --git a/t/java-compile-run-nested.sh b/t/java-compile-run-nested.sh index 444865681..6c16b0803 100644 --- a/t/java-compile-run-nested.sh +++ b/t/java-compile-run-nested.sh @@ -96,6 +96,10 @@ jprog: jprog.sh EXTRA_DIST = jprog.sh CLEANFILES = jprog + +# The test can fail under a parallel make, so disable. +# No evident way to debug or reliably reproduce. +.NOTPARALLEL: END cat > bin/jprog.sh <<'END' @@ -115,6 +119,12 @@ mkdir jprog cat > jprog/Makefile.am <<'END' dist_jprogclass_JAVA = Main.java HelloStream.java nodist_jprogclass_JAVA = PkgLocation.java + +# Tell GNU make not to parallelize, since the tests can result in, for example: +# /p/bin/install: cannot create regular file '/w/co/automake/t/java-compile-run-nested.dir/_inst/share/java-compile-run-nested/jprog/HelloStream.class': +# File exists +# No evident way to debug or reliably reproduce. +.NOTPARALLEL: END cat > jprog/PkgLocation.jin <<'END' @@ -188,6 +198,10 @@ TESTS = \ XFAIL_TESTS = badarg.test EXTRA_DIST = $(TESTS) + +# The test can fail under a parallel make, so disable. +# No evident way to debug or reliably reproduce. +.NOTPARALLEL: END cat > tests/simple.test <<'END'