tests: cosmetic changes in t/extra-sources.sh
[platform/upstream/automake.git] / t / parallel-tests-recheck-pr11791.sh
index f14288c..1933aa9 100644 (file)
@@ -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