From 87b29629dec84ad4dbb62818fc847f037b29f5e9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 8 Dec 2020 15:01:00 -0800 Subject: [PATCH] tests: more .NOTPARALLEL tests. * contrib/t/multilib.sh: yet more .NOTPARALLEL for AM_TESTSUITE_MAKE, found by Jim on heavier machines. * t/autodist-stamp-vti.sh: likewise. * t/java-compile-run-nested.sh: likewise. * t/transform2.sh: likewise. --- contrib/t/multilib.sh | 8 ++++++++ t/autodist-stamp-vti.sh | 4 ++++ t/java-compile-run-nested.sh | 4 ++++ t/transform2.sh | 4 ++++ 4 files changed, 20 insertions(+) diff --git a/contrib/t/multilib.sh b/contrib/t/multilib.sh index 4b336a3b2..7e0c0a56b 100755 --- a/contrib/t/multilib.sh +++ b/contrib/t/multilib.sh @@ -94,6 +94,10 @@ cat >libfoo/Makefile.am <<'END' noinst_LIBRARIES = libfoo.a libfoo_a_SOURCES = foo.c include $(top_srcdir)/multilib.am + +# The test can fail under a parallel make, so disable. +# No evident way to debug or reliably reproduce. +.NOTPARALLEL: END : > libfoo/foo.c @@ -121,6 +125,10 @@ SUBDIRS = sub noinst_LIBRARIES = libbar.a libbar_a_SOURCES = bar.c include $(top_srcdir)/multilib.am + +# The test can fail under a parallel make, so disable. +# No evident way to debug or reliably reproduce. +.NOTPARALLEL: END mkdir libbar/sub diff --git a/t/autodist-stamp-vti.sh b/t/autodist-stamp-vti.sh index aef8f686b..da5c8014d 100644 --- a/t/autodist-stamp-vti.sh +++ b/t/autodist-stamp-vti.sh @@ -32,6 +32,10 @@ test: all distdir ls -l $(distdir) echo ' ' $(DIST_COMMON) ' ' | grep '[ /]stamp-vti ' test -f $(distdir)/stamp-vti + +# The test can fail under a parallel make, so disable. +# No evident way to debug or reliably reproduce. +.NOTPARALLEL: END cat > foo.texi << 'END' diff --git a/t/java-compile-run-nested.sh b/t/java-compile-run-nested.sh index b52729175..444865681 100644 --- a/t/java-compile-run-nested.sh +++ b/t/java-compile-run-nested.sh @@ -70,6 +70,10 @@ check-local: test-built installcheck-local: test-installed run-installed .PHONY: test-built test-installed run-installed + +# The test can fail under a parallel make, so disable. +# No evident way to debug or reliably reproduce. +.NOTPARALLEL: END ## WRAPPER SCRIPT ## diff --git a/t/transform2.sh b/t/transform2.sh index f758b15da..62fcf52d9 100644 --- a/t/transform2.sh +++ b/t/transform2.sh @@ -45,6 +45,10 @@ test-install-foo: install test ! -f inst/bin/s2.sh test ! -f inst/man/man/m1.1 test ! -f inst/man/man/m2.1 + +# The test can fail under a parallel make, so disable. +# No evident way to debug or reliably reproduce. +.NOTPARALLEL: EOF cat >p1.c <<'EOF' -- 2.47.3