]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Skip parallel tests when zsh 'set -m' fails.
authorEric Blake <ebb9@byu.net>
Wed, 8 Jul 2009 05:01:23 +0000 (23:01 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 8 Jul 2009 05:01:23 +0000 (23:01 -0600)
* tests/autotest.at (AT_SKIP_PARALLEL_TESTS): Skip test if set -m
is not supported.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
tests/autotest.at

index ff8e9ce53335eab88b47157d77efe6fdbb16b94b..fed334ea7533a2574e97c83442124e9f8e8d9fc2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-07-07  Eric Blake  <ebb9@byu.net>
 
+       Skip parallel tests when zsh 'set -m' fails.
+       * tests/autotest.at (AT_SKIP_PARALLEL_TESTS): Skip test if set -m
+       is not supported.
+       Reported by Ralf Wildenhues.
+
        Make parallel testsuite more portable.
        * lib/autotest/general.m4 (AT_INIT) <AT_JOB_FIFO_FD>: Avoid <>;
        instead open write descriptor in each group and read descriptor in
index b4ba887c7f5491f859c4047edbbac0c94469c3ce..9bdb728edf95a53501800da3f7ccda189cfa8378 100644 (file)
@@ -992,8 +992,9 @@ m4_define([AT_SKIP_PARALLEL_TESTS],
 # limited conditions; help is appreciated in widening this test base.
 AT_CHECK([${CONFIG_SHELL-$SHELL} -c 'test -n "${BASH_VERSION+set}]]dnl
 [[${ZSH_VERSION+set}${TEST_PARALLEL_AUTOTEST+set}"' || exit 77])
-# The parallel scheduler requires mkfifo to work.
+# The parallel scheduler requires mkfifo and job control to work.
 AT_CHECK([mkfifo fifo || exit 77])
+AT_CHECK([${CONFIG_SHELL-$SHELL} -c '(set -m && set +m) || exit 77'])
 ])