From: Eric Blake Date: Wed, 8 Jul 2009 05:01:23 +0000 (-0600) Subject: Skip parallel tests when zsh 'set -m' fails. X-Git-Tag: v2.64~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a15f2f077736b7d52ce01b6102ee9a495f02452;p=thirdparty%2Fautoconf.git 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. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index ff8e9ce53..fed334ea7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-07-07 Eric Blake + 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) : Avoid <>; instead open write descriptor in each group and read descriptor in diff --git a/tests/autotest.at b/tests/autotest.at index b4ba887c7..9bdb728ed 100644 --- a/tests/autotest.at +++ b/tests/autotest.at @@ -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']) ])