# Check @substituted@ TESTS.
# Note that in this test, we rely on the .test extension for the
-# substituted names: this is necessary for parallel-tests.
+# substituted names: this is necessary for the parallel harness.
# See also sister test 'check-subst-prog.test'.
-. ./defs || Exit 1
+# For gen-testsuite-part: ==> try-with-serial-tests <==
+. ./defs || exit 1
cat >> configure.ac << 'END'
AC_SUBST([script_tests], ['subst-pass-script.sh subst-xfail-script.sh'])
XFAIL_TESTS = @xfail_tests@
END
-if test "$am_parallel_tests" = yes; then
+if test x"$am_serial_tests" != x"yes"; then
unindent >> Makefile.am <<'END'
TEST_EXTENSIONS = .sh .test
SH_LOG_COMPILER = $(SHELL)
cp xfail-script.test subst-xfail-script.sh
chmod a+x pass-script.test xfail-script.test
-if test "$am_parallel_tests" != yes; then
+if test x"$am_serial_tests" = x"yes"; then
chmod a+x subst-pass-script.sh subst-xfail-script.sh
fi
$srcdir/configure
$MAKE all
$MAKE check
- if test "$am_parallel_tests" = yes; then
+ if test x"$am_serial_tests" != x"yes"; then
ls -l
test -f pass-script.log
test -f xfail-script.log