From: Karl Berry Date: Sat, 28 Nov 2020 02:07:10 +0000 (-0800) Subject: tests: .NOTPARALLEL test-driver-create-log-dir. X-Git-Tag: v1.16.4~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b35822b5a67eaae45db82fdaf833c31ab83ea6c4;p=thirdparty%2Fautomake.git tests: .NOTPARALLEL test-driver-create-log-dir. * 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. --- diff --git a/t/test-driver-create-log-dir.sh b/t/test-driver-create-log-dir.sh index 54c904ef7..759b264e4 100644 --- a/t/test-driver-create-log-dir.sh +++ b/t/test-driver-create-log-dir.sh @@ -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