diff options
author | Karl Berry <karl@freefriends.org> | 2020-12-09 15:02:19 -0800 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-12-09 15:02:19 -0800 |
commit | 9f044de10974d53c76b0e1beb36075c3769b7cd6 (patch) | |
tree | 3008eb9f66e9f89c618709225ac889c36119d271 /t | |
parent | 87b29629dec84ad4dbb62818fc847f037b29f5e9 (diff) | |
download | automake-9f044de10974d53c76b0e1beb36075c3769b7cd6.tar.gz |
tests: more .NOTPARALLEL tests.
* t/java-compile-run-nested.sh: .NOTPARALLEL in subdirs too.
Diffstat (limited to 't')
-rw-r--r-- | t/java-compile-run-nested.sh | 14 |
1 files changed, 14 insertions, 0 deletions
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' |