]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: .NOTPARALLEL test-driver-create-log-dir.
authorKarl Berry <karl@freefriends.org>
Sat, 28 Nov 2020 02:07:10 +0000 (18:07 -0800)
committerKarl Berry <karl@freefriends.org>
Sat, 28 Nov 2020 02:07:10 +0000 (18:07 -0800)
* t/test-driver-create-log-dir.sh (.NOTPARALLEL): add target,
since the two tests under sub/ seem to have a race condition.
No evident way to debug or reliably reproduce. Reported by Jim.

t/test-driver-create-log-dir.sh

index 54c904ef749520c1bec353657c9798d5307d7e52..759b264e407ea53a06b30e1667a7b7404a0213cb 100644 (file)
@@ -42,6 +42,13 @@ check-local: $(TEST_SUITE_LOG)
        test -f sub/foo.trs
        test -f sub/subsub/bar.trs
        test -f sub1/baz.trs
+
+# Tell GNU make not to parallelize, since the two tests under sub/
+# can result in, for example:
+#   fatal: making test-suite.log: failed to create sub/foo.trs
+#   fatal: making test-suite.log: failed to create sub/foo.log
+# No evident way to debug or reliably reproduce.
+.NOTPARALLEL:
 END
 
 echo "#!$AM_TEST_RUNNER_SHELL" > checkdir-driver