[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: tests: more .NOTPARALLEL tests.
From: |
Karl Berry |
Subject: |
[automake-commit] branch master updated: tests: more .NOTPARALLEL tests. |
Date: |
Wed, 09 Dec 2020 18:02:34 -0500 |
This is an automated email from the git hooks/post-receive script.
karl pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=9f044de10974d53c76b0e1beb36075c3769b7cd6
The following commit(s) were added to refs/heads/master by this push:
new 9f044de tests: more .NOTPARALLEL tests.
9f044de is described below
commit 9f044de10974d53c76b0e1beb36075c3769b7cd6
Author: Karl Berry <karl@freefriends.org>
AuthorDate: Wed Dec 9 15:02:19 2020 -0800
tests: more .NOTPARALLEL tests.
* t/java-compile-run-nested.sh: .NOTPARALLEL in subdirs too.
---
t/java-compile-run-nested.sh | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/t/java-compile-run-nested.sh b/t/java-compile-run-nested.sh
index 4448656..6c16b08 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'