summaryrefslogtreecommitdiff
path: root/t/parallel-tests-recheck-pr11791.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-05-26 11:35:15 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-05-26 11:35:15 +0200
commit73a09981c3ed6932a319768bfb7a5fffc80457b3 (patch)
tree0b5301ae82cfb0ac00e73ab4f9b1aac541429274 /t/parallel-tests-recheck-pr11791.sh
parentbf81b6d1e7e9a9cc0ee310f0b232f20e9eb7c392 (diff)
downloadautomake-73a09981c3ed6932a319768bfb7a5fffc80457b3.tar.gz
tests: avoid a couple of extra sleep with GNU make
They are only required by BSD make in order to avoid spurious failures. * t/deleted-am.sh: Here. * t/parallel-tests-recheck-pr11791.sh: And here. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/parallel-tests-recheck-pr11791.sh')
-rw-r--r--t/parallel-tests-recheck-pr11791.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/parallel-tests-recheck-pr11791.sh b/t/parallel-tests-recheck-pr11791.sh
index f14288c34..1933aa98d 100644
--- a/t/parallel-tests-recheck-pr11791.sh
+++ b/t/parallel-tests-recheck-pr11791.sh
@@ -41,7 +41,7 @@ $AUTOMAKE -a
run_make -O -e FAIL check
count_test_results total=1 pass=0 fail=1 xpass=0 xfail=0 skip=0 error=0
-$sleep # Required to avoid a spurious failure with some FreeBSD makes.
+using_gmake || $sleep # Required by BSD make.
run_make -O -e IGNORE -- -k recheck
# Don't trust the exit status of "make -k" for non-GNU makes.
! using_gmake || test $am_make_rc -gt 0 || exit 1
@@ -59,7 +59,7 @@ $EGREP '(X?PASS|X?FAIL|SKIP|ERROR):' stdout && exit 1
test -f foo.log
test -f foo.trs
-$sleep # Required to avoid a spurious failure with some FreeBSD makes.
+using_gmake || $sleep # Required by BSD make.
run_make -O -e IGNORE -- -k recheck
# Don't trust the exit status of "make -k" for non-GNU makes.
! using_gmake || test $am_make_rc -gt 0 || exit 1