summaryrefslogtreecommitdiff
path: root/t/check-concurrency-bug9245.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/check-concurrency-bug9245.sh')
-rw-r--r--t/check-concurrency-bug9245.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/t/check-concurrency-bug9245.sh b/t/check-concurrency-bug9245.sh
index 2fc0b048b..87347f2c3 100644
--- a/t/check-concurrency-bug9245.sh
+++ b/t/check-concurrency-bug9245.sh
@@ -14,8 +14,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Look for a bug where FreeBSD make in concurrent mode reported success
-# even when the Automake-generated parallel testsuite harness failed.
+# Look for a bug where make in concurrent mode reported success even
+# when the Automake-generated parallel testsuite harness failed.
+# This issue was originally present only with FreeBSD make, but we
+# keep the test anyway, for extra safety.
# See automake bug#9245.
. test-init.sh
@@ -42,16 +44,14 @@ $AUTOMAKE -a
./configure
-$MAKE -j1 || skip_ "'$MAKE' doesn't support the -j option"
-
for j in '' -j1 -j2; do
- $MAKE $j check && exit 1
- run_make -e FAIL -- $j TESTS=foo.test check
- $MAKE $j recheck && exit 1
- run_make -e FAIL -- $j TEST_LOGS=foo.log check
+ $MAKE $j check && exit 1
+ $MAKE $j TESTS=foo.test check && exit 1
+ $MAKE $j recheck && exit 1
+ $MAKE $j TESTS=foo check && exit 1
rm -f test-suite.log
- run_make -e FAIL $j test-suite.log
- test -f test-suite.log || exit 1
+ $MAKE $j test-suite.log && exit 1
+ test -f test-suite.log || exit 1
done
: