summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--defs6
-rw-r--r--defs-static.in2
-rwxr-xr-xgen-testsuite-part33
-rw-r--r--syntax-checks.mk9
-rw-r--r--t/README15
-rwxr-xr-xt/am-tests-environment.sh1
-rw-r--r--t/ax/tap-summary-aux.sh1
-rw-r--r--t/ax/testsuite-summary-checks.sh1
-rwxr-xr-xt/backcompat5.sh2
-rwxr-xr-xt/check-concurrency-bug9245.sh14
-rwxr-xr-xt/check-exported-srcdir.sh3
-rwxr-xr-xt/check-fd-redirect.sh3
-rwxr-xr-xt/check-no-test-driver.sh2
-rwxr-xr-xt/check-subst-prog.sh1
-rwxr-xr-xt/check-subst.sh7
-rwxr-xr-xt/check-tests-in-builddir.sh28
-rwxr-xr-xt/check.sh5
-rwxr-xr-xt/check10.sh2
-rwxr-xr-xt/check11.sh13
-rwxr-xr-xt/check12.sh11
-rwxr-xr-xt/check2.sh5
-rwxr-xr-xt/check3.sh1
-rwxr-xr-xt/check4.sh1
-rwxr-xr-xt/check5.sh1
-rwxr-xr-xt/check6.sh1
-rwxr-xr-xt/check7.sh1
-rwxr-xr-xt/check8.sh1
-rwxr-xr-xt/color.sh7
-rwxr-xr-xt/color2.sh7
-rwxr-xr-xt/cygnus-imply-foreign.sh2
-rwxr-xr-xt/dejagnu.sh2
-rwxr-xr-xt/dist-auxdir-many-subdirs.sh1
-rwxr-xr-xt/distcheck-pr10470.sh1
-rwxr-xr-xt/exeext4.sh1
-rwxr-xr-xt/java-compile-run-flat.sh2
-rwxr-xr-xt/java-compile-run-nested.sh1
-rwxr-xr-xt/make-dryrun.tap1
-rwxr-xr-xt/maken3.sh1
-rwxr-xr-xt/parallel-tests-cmdline-override.sh1
-rwxr-xr-xt/parallel-tests-console-output.sh1
-rwxr-xr-xt/parallel-tests-driver-install.sh1
-rwxr-xr-xt/parallel-tests-dry-run-1.sh1
-rwxr-xr-xt/parallel-tests-dry-run-2.sh1
-rwxr-xr-xt/parallel-tests-empty-testlogs.sh1
-rwxr-xr-xt/parallel-tests-exeext.sh1
-rwxr-xr-xt/parallel-tests-exit-statuses.sh1
-rwxr-xr-xt/parallel-tests-extra-programs.sh1
-rwxr-xr-xt/parallel-tests-fd-redirect-exeext.sh1
-rwxr-xr-xt/parallel-tests-fd-redirect.sh1
-rwxr-xr-xt/parallel-tests-fork-bomb.sh1
-rwxr-xr-xt/parallel-tests-harderror.sh1
-rwxr-xr-xt/parallel-tests-interrupt.tap1
-rwxr-xr-xt/parallel-tests-log-compiler-1.sh1
-rwxr-xr-xt/parallel-tests-log-compiler-2.sh1
-rwxr-xr-xt/parallel-tests-log-compiler-example.sh1
-rwxr-xr-xt/parallel-tests-log-override-1.sh1
-rwxr-xr-xt/parallel-tests-log-override-2.sh1
-rwxr-xr-xt/parallel-tests-log-override-recheck.sh1
-rwxr-xr-xt/parallel-tests-many.sh1
-rwxr-xr-xt/parallel-tests-no-color-in-log.sh1
-rwxr-xr-xt/parallel-tests-no-spurious-summary.sh1
-rwxr-xr-xt/parallel-tests-once.sh1
-rwxr-xr-xt/parallel-tests-recheck-depends-on-all.sh1
-rwxr-xr-xt/parallel-tests-reset-term.sh1
-rwxr-xr-xt/parallel-tests-subdir.sh1
-rwxr-xr-xt/parallel-tests-suffix-prog.sh1
-rwxr-xr-xt/parallel-tests-suffix.sh1
-rwxr-xr-xt/parallel-tests-trailing-bslash.sh1
-rwxr-xr-xt/parallel-tests-unreadable.sh1
-rwxr-xr-xt/parallel-tests.sh1
-rwxr-xr-xt/parallel-tests10.sh1
-rwxr-xr-xt/parallel-tests2.sh1
-rwxr-xr-xt/parallel-tests3.sh1
-rwxr-xr-xt/parallel-tests5.sh1
-rwxr-xr-xt/parallel-tests6.sh1
-rwxr-xr-xt/parallel-tests8.sh1
-rwxr-xr-xt/parallel-tests9.sh1
-rwxr-xr-xt/posixsubst-tests.sh1
-rwxr-xr-xt/pr401.sh3
-rwxr-xr-xt/pr401b.sh1
-rwxr-xr-xt/pr401c.sh6
-rwxr-xr-xt/self-check-env-sanitize.tap2
-rwxr-xr-xt/serial-tests.sh6
-rwxr-xr-xt/tap-ambiguous-directive.sh1
-rwxr-xr-xt/tap-autonumber.sh1
-rwxr-xr-xt/tap-bad-prog.tap1
-rwxr-xr-xt/tap-bailout-and-logging.sh1
-rwxr-xr-xt/tap-bailout-leading-space.sh1
-rwxr-xr-xt/tap-bailout-suppress-badexit.sh1
-rwxr-xr-xt/tap-bailout-suppress-later-diagnostic.sh1
-rwxr-xr-xt/tap-bailout-suppress-later-errors.sh1
-rwxr-xr-xt/tap-bailout.sh1
-rwxr-xr-xt/tap-basic.sh1
-rwxr-xr-xt/tap-color.sh1
-rwxr-xr-xt/tap-common-setup.sh1
-rwxr-xr-xt/tap-deps.sh1
-rwxr-xr-xt/tap-diagnostic-custom.sh1
-rwxr-xr-xt/tap-diagnostic.sh1
-rwxr-xr-xt/tap-doc.sh1
-rwxr-xr-xt/tap-doc2.sh1
-rwxr-xr-xt/tap-driver-stderr.sh1
-rwxr-xr-xt/tap-empty-diagnostic.sh1
-rwxr-xr-xt/tap-empty.sh1
-rwxr-xr-xt/tap-escape-directive-2.sh1
-rwxr-xr-xt/tap-escape-directive.sh1
-rwxr-xr-xt/tap-exit.sh1
-rwxr-xr-xt/tap-fancy.sh1
-rwxr-xr-xt/tap-fancy2.sh1
-rwxr-xr-xt/tap-global-log.sh1
-rwxr-xr-xt/tap-global-result.sh1
-rwxr-xr-xt/tap-log.sh1
-rwxr-xr-xt/tap-merge-stdout-stderr.sh1
-rwxr-xr-xt/tap-missing-plan-and-bad-exit.sh1
-rwxr-xr-xt/tap-more.sh1
-rwxr-xr-xt/tap-more2.sh1
-rwxr-xr-xt/tap-msg0-bailout.sh1
-rwxr-xr-xt/tap-msg0-directive.sh1
-rwxr-xr-xt/tap-msg0-misc.sh1
-rwxr-xr-xt/tap-msg0-planskip.sh1
-rwxr-xr-xt/tap-msg0-result.sh1
-rwxr-xr-xt/tap-negative-numbers.sh1
-rwxr-xr-xt/tap-no-disable-hard-error.sh1
-rwxr-xr-xt/tap-no-merge-stdout-stderr.sh1
-rwxr-xr-xt/tap-no-spurious-numbers.sh1
-rwxr-xr-xt/tap-no-spurious-summary.sh1
-rwxr-xr-xt/tap-no-spurious.sh1
-rwxr-xr-xt/tap-not-ok-skip.sh1
-rwxr-xr-xt/tap-number-wordboundary.sh1
-rwxr-xr-xt/tap-numbers-leading-zero.sh1
-rwxr-xr-xt/tap-numeric-description.sh1
-rwxr-xr-xt/tap-out-of-order.sh1
-rwxr-xr-xt/tap-passthrough-exit.sh1
-rwxr-xr-xt/tap-passthrough.sh1
-rwxr-xr-xt/tap-plan-corner.sh1
-rwxr-xr-xt/tap-plan-errors.sh1
-rwxr-xr-xt/tap-plan-leading-zero.sh1
-rwxr-xr-xt/tap-plan-malformed.sh1
-rwxr-xr-xt/tap-plan-middle.sh1
-rwxr-xr-xt/tap-plan-whitespace.sh1
-rwxr-xr-xt/tap-plan.sh1
-rwxr-xr-xt/tap-planskip-and-logging.sh1
-rwxr-xr-xt/tap-planskip-badexit.sh1
-rwxr-xr-xt/tap-planskip-bailout.sh1
-rwxr-xr-xt/tap-planskip-case-insensitive.sh1
-rwxr-xr-xt/tap-planskip-late.sh1
-rwxr-xr-xt/tap-planskip-later-errors.sh1
-rwxr-xr-xt/tap-planskip-unplanned-corner.sh1
-rwxr-xr-xt/tap-planskip-unplanned.sh1
-rwxr-xr-xt/tap-planskip-whitespace.sh1
-rwxr-xr-xt/tap-planskip.sh1
-rwxr-xr-xt/tap-realtime.sh1
-rwxr-xr-xt/tap-recheck-logs.sh1
-rwxr-xr-xt/tap-recheck.sh1
-rwxr-xr-xt/tap-result-comment.sh1
-rwxr-xr-xt/tap-signal.tap1
-rwxr-xr-xt/tap-test-number-0.sh1
-rwxr-xr-xt/tap-todo-skip-together.sh1
-rwxr-xr-xt/tap-todo-skip-whitespace.sh1
-rwxr-xr-xt/tap-todo-skip.sh1
-rwxr-xr-xt/tap-unplanned.sh1
-rwxr-xr-xt/tap-whitespace-normalization.sh1
-rwxr-xr-xt/tap-with-and-without-number.sh1
-rwxr-xr-xt/tap-xfail-tests.sh1
-rwxr-xr-xt/test-driver-acsubst.sh1
-rwxr-xr-xt/test-driver-cond.sh1
-rwxr-xr-xt/test-driver-create-log-dir.sh1
-rwxr-xr-xt/test-driver-custom-multitest-recheck.sh1
-rwxr-xr-xt/test-driver-custom-multitest-recheck2.sh1
-rwxr-xr-xt/test-driver-custom-multitest.sh1
-rwxr-xr-xt/test-driver-custom-no-extra-driver.sh1
-rwxr-xr-xt/test-driver-custom-xfail-tests.sh1
-rwxr-xr-xt/test-driver-custom.sh1
-rwxr-xr-xt/test-driver-fail.sh1
-rwxr-xr-xt/test-driver-is-distributed.sh1
-rwxr-xr-xt/test-driver-strip-vpath.sh1
-rwxr-xr-xt/test-driver-trs-suffix-registered.sh1
-rwxr-xr-xt/test-extensions-cond.sh1
-rwxr-xr-xt/test-extensions.sh1
-rwxr-xr-xt/test-harness-vpath-rewrite.sh1
-rwxr-xr-xt/test-log.sh1
-rwxr-xr-xt/test-logs-repeated.sh1
-rwxr-xr-xt/test-metadata-global-log.sh1
-rwxr-xr-xt/test-metadata-global-result.sh1
-rwxr-xr-xt/test-metadata-recheck.sh1
-rwxr-xr-xt/test-metadata-results.sh1
-rwxr-xr-xt/test-missing.sh1
-rwxr-xr-xt/test-missing2.sh1
-rwxr-xr-xt/test-trs-basic.sh1
-rwxr-xr-xt/test-trs-recover.sh1
-rwxr-xr-xt/test-trs-recover2.sh1
-rwxr-xr-xt/tests-environment-and-log-compiler.sh1
-rwxr-xr-xt/tests-environment-backcompat.sh2
-rwxr-xr-xt/tests-environment-fd-redirect.sh1
-rwxr-xr-xt/tests-environment.sh1
-rwxr-xr-xt/testsuite-recheck-speed.sh1
-rwxr-xr-xt/testsuite-summary-count-many.sh1
-rwxr-xr-xt/testsuite-summary-reference-log.sh1
-rwxr-xr-xt/testsuite-summary-speed.sh1
199 files changed, 110 insertions, 262 deletions
diff --git a/Makefile.am b/Makefile.am
index 27f65e4ea..f15ede4ee 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -339,7 +339,7 @@ AM_TESTS_ENVIRONMENT = \
me \
required \
am_using_tap \
- am_parallel_tests \
+ am_serial_tests \
am_test_prefer_config_shell \
am_original_AUTOMAKE \
am_original_ACLOCAL \
diff --git a/defs b/defs
index fcdbb7df4..24d3fd25f 100644
--- a/defs
+++ b/defs
@@ -1087,10 +1087,10 @@ else
# to append AC_OUTPUT.
{
echo "AC_INIT([$me], [1.0])"
- if test x"$am_parallel_tests" = x"yes"; then
- echo "AM_INIT_AUTOMAKE([parallel-tests])"
- else
+ if test x"$am_serial_tests" = x"yes"; then
echo "AM_INIT_AUTOMAKE"
+ else
+ echo "AM_INIT_AUTOMAKE([parallel-tests])"
fi
echo "AC_CONFIG_FILES([Makefile])"
} >configure.ac || framework_failure_ "creating configure.ac skeleton"
diff --git a/defs-static.in b/defs-static.in
index 44db30953..1dfd8d3b8 100644
--- a/defs-static.in
+++ b/defs-static.in
@@ -73,7 +73,7 @@ for var in \
me \
required \
am_using_tap \
- am_parallel_tests \
+ am_serial_tests \
am_create_testdir \
am_tap_implementation \
am_test_prefer_config_shell \
diff --git a/gen-testsuite-part b/gen-testsuite-part
index a2db2d30b..34e10a83d 100755
--- a/gen-testsuite-part
+++ b/gen-testsuite-part
@@ -191,30 +191,19 @@ my %deps_extractor =
my %test_generators =
(
#
- # For each test script in the Automake testsuite that itself tests
- # features of the TESTS automake interface, define a sibling test
- # that does likewise, but with the option 'parallel-tests' enabled.
+ # Any test script in the Automake testsuite that checks features of
+ # the Automake-provided parallel testsuite harness might want to
+ # define a sibling test that does similar checks, but for the old
+ # serial testsuite harness instead.
#
- # A test is considered a candidate for sibling-generation if any
- # Makefile.am generated by it define the TESTS variable.
+ # Individual tests can request the creation of such a sibling by
+ # making the string "try-with-serial-tests" appear any line of the
+ # test itself.
#
- # Individual tests can prevent the creation of such a sibling by
- # explicitly setting the '$am_parallel_tests' variable to either "yes"
- # or "no". The rationale for this is that if the variable is set to
- # "yes", the test already uses the 'parallel-tests' option, so that
- # a sibling would be just a duplicate; while if the variable is set
- # to "no", the test doesn't support, or is not meant to run with, the
- # 'parallel-tests' option, and forcing it to do so in the sibling
- # would likely cause a spurious failure.
- #
- parallel_testsuite_harness =>
+ serial_testsuite_harness =>
{
- line_matcher =>
- qr/(?:^|\s)TESTS\s*=/,
- line_rejecter =>
- qr/(?:^[^#]*\bparallel-tests\b)|\bam_parallel_tests=/,
- shell_setup_code =>
- 'am_parallel_tests=yes'
+ line_matcher => qr/\btry-with-serial-tests\b/,
+ shell_setup_code => 'am_serial_tests=yes',
},
#
# For each test script in the Automake testsuite that tests features
@@ -287,7 +276,7 @@ while (my ($k, $g) = each %test_generators)
{
my @wrapped_tests = grep {
line_match ($g->{line_matcher}, $_)
- && !line_match ($g->{line_rejecter}, $_)
+ && (!$g->{line_rejecter} || !line_match ($g->{line_rejecter}, $_))
} @all_tests;
foreach my $wrapped_test (@wrapped_tests)
{
diff --git a/syntax-checks.mk b/syntax-checks.mk
index bac6c7bba..402e17f18 100644
--- a/syntax-checks.mk
+++ b/syntax-checks.mk
@@ -277,10 +277,11 @@ sc_tests_make_without_am_makeflags:
sc_tests_obsolete_variables:
@vars=" \
using_tap \
- parallel_tests \
test_prefer_config_shell \
original_AUTOMAKE \
original_ACLOCAL \
+ parallel_tests \
+ am_parallel_tests \
"; \
seen=""; \
for v in $$vars; do \
@@ -290,7 +291,11 @@ sc_tests_obsolete_variables:
done; \
if test -n "$$seen"; then \
for v in $$seen; do \
- echo "Variable '$$v' is obsolete, use 'am_$$v' instead." 1>&2; \
+ case $$v in \
+ parallel_tests|am_parallel_tests) v2=am_serial_tests;; \
+ *) v2=am_$$v;; \
+ esac; \
+ echo "Variable '$$v' is obsolete, use '$$v2' instead." 1>&2; \
done; \
exit 1; \
else :; fi
diff --git a/t/README b/t/README
index 75dae9e20..5f967d271 100644
--- a/t/README
+++ b/t/README
@@ -173,11 +173,16 @@ Do
set-up of a test scenario, you can use the 'framework_fail_' function
instead.
- For tests that use the 'parallel-tests' Automake option, set the shell
- variable 'am_parallel_tests' to "yes" before including ./defs. For
- tests that are *not* meant to work with the 'parallel-tests' Automake
- option (these should be very very few), set the shell variable
- 'am_parallel_tests' to "no" before including ./defs.
+ For those tests checking the Automake-provided test harnesses that are
+ expected to work also when the 'serial-tests' Automake option is used
+ (thus causing the serial testsuite harness to be used in the generated
+ Makefile), place a line containing "try-with-serial-tests" somewhere
+ in the file. That will ensure that the 'gen-testsuite-part' script
+ generates a sibling of that test which uses the serial harness instead
+ of the parallel one. For those tests that are *not* meant to work with
+ the parallel testsuite harness at all (these should be very very few),
+ set the shell variable 'am_serial_tests' to "yes" before including
+ ./defs.
Some tests in the Automake testsuite are auto-generated; those tests
might have custom extensions, but their basename (that is, with such
diff --git a/t/am-tests-environment.sh b/t/am-tests-environment.sh
index 3a6e75532..f2931e6d0 100755
--- a/t/am-tests-environment.sh
+++ b/t/am-tests-environment.sh
@@ -17,7 +17,6 @@
# parallel-tests: check AM_TESTS_ENVIRONMENT support, and its
# interactions with TESTS_ENVIRONMENT.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/ax/tap-summary-aux.sh b/t/ax/tap-summary-aux.sh
index 3848fd1b4..f5d1fbdfe 100644
--- a/t/ax/tap-summary-aux.sh
+++ b/t/ax/tap-summary-aux.sh
@@ -16,7 +16,6 @@
# Auxiliary script for tests on TAP support: checking testsuite summary.
-am_parallel_tests=yes
. ./defs || Exit 1
br='============================================================================'
diff --git a/t/ax/testsuite-summary-checks.sh b/t/ax/testsuite-summary-checks.sh
index aed0000ed..0c8e98c5d 100644
--- a/t/ax/testsuite-summary-checks.sh
+++ b/t/ax/testsuite-summary-checks.sh
@@ -20,7 +20,6 @@
# testsuite output, packages with and without bug-report addresses,
# testsuites in subdirectories, ...)
-am_parallel_tests=yes
. ./defs || Exit 1
case $use_colors in
diff --git a/t/backcompat5.sh b/t/backcompat5.sh
index 6bfb1c21e..fda98f47d 100755
--- a/t/backcompat5.sh
+++ b/t/backcompat5.sh
@@ -19,7 +19,7 @@
# This script can also serve as mild stress-testing for Automake.
# See also the similar test 'backcompat6.test'.
-am_parallel_tests=no
+am_serial_tests=yes
am_create_testdir=empty
. ./defs || Exit 1
diff --git a/t/check-concurrency-bug9245.sh b/t/check-concurrency-bug9245.sh
index 064dce26f..1cb842237 100755
--- a/t/check-concurrency-bug9245.sh
+++ b/t/check-concurrency-bug9245.sh
@@ -48,15 +48,11 @@ $MAKE -j1 || Exit 77
for j in '' -j1 -j2; do
$MAKE $j check && Exit 1
TESTS=foo.test $MAKE $j -e check && Exit 1
- if test x"$am_parallel_tests" = x"yes"; then
- $MAKE $j recheck && Exit 1
- TEST_LOGS=foo.log $MAKE $j -e check && Exit 1
- rm -f test-suite.log
- $MAKE $j test-suite.log && Exit 1
- test -f test-suite.log || Exit 1
- else
- : # For shells with buggy 'set -e'.
- fi
+ $MAKE $j recheck && Exit 1
+ TEST_LOGS=foo.log $MAKE $j -e check && Exit 1
+ rm -f test-suite.log
+ $MAKE $j test-suite.log && Exit 1
+ test -f test-suite.log || Exit 1
done
:
diff --git a/t/check-exported-srcdir.sh b/t/check-exported-srcdir.sh
index 124269bc3..c6fda2125 100755
--- a/t/check-exported-srcdir.sh
+++ b/t/check-exported-srcdir.sh
@@ -18,11 +18,12 @@
# parallel-tests option enabled) exports the 'srcdir' value in the
# environment of the tests. This is documented in the manual.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
show_info ()
{
- if test x"$am_parallel_tests" = x"yes"; then
+ if test x"$am_serial_tests" != x"yes"; then
cat foo.log
cat test-suite.log
else
diff --git a/t/check-fd-redirect.sh b/t/check-fd-redirect.sh
index 5a64c229a..618aa80a9 100755
--- a/t/check-fd-redirect.sh
+++ b/t/check-fd-redirect.sh
@@ -18,6 +18,7 @@
# AM_TESTS_FD_REDIRECT.
# See also related test 'parallel-tests-fd-redirect.test'.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
cat >> configure.ac << 'END'
@@ -50,7 +51,7 @@ do_check ()
cat stdout
cat stderr >&2
cat four
- test x"$am_parallel_tests" != x"yes" || cat foo.log
+ test x"$am_serial_tests" = x"yes" || cat foo.log
test $st -eq 0
grep '[ /]foo\.test: foofoofoo$' stdout
grep '[ /]foo\.test: barbarbar$' stderr
diff --git a/t/check-no-test-driver.sh b/t/check-no-test-driver.sh
index cccc0ed57..84ea32599 100755
--- a/t/check-no-test-driver.sh
+++ b/t/check-no-test-driver.sh
@@ -18,7 +18,7 @@
# installed or referenced when the 'parallel-tests' option is not
# used.
-am_parallel_tests=no
+am_serial_tests=yes
. ./defs || Exit 1
echo 'TESTS = foo.test' > Makefile.am
diff --git a/t/check-subst-prog.sh b/t/check-subst-prog.sh
index 30e87632f..540c7490b 100755
--- a/t/check-subst-prog.sh
+++ b/t/check-subst-prog.sh
@@ -17,6 +17,7 @@
# Check @substituted@ TESTS, some of which are also PROGRAMS.
# See also sister test 'check-subst.test'.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
required='cc native'
. ./defs || Exit 1
diff --git a/t/check-subst.sh b/t/check-subst.sh
index 79d7526a0..ac8fe8905 100755
--- a/t/check-subst.sh
+++ b/t/check-subst.sh
@@ -19,6 +19,7 @@
# substituted names: this is necessary for parallel-tests.
# See also sister test 'check-subst-prog.test'.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
cat >> configure.ac << 'END'
@@ -32,7 +33,7 @@ TESTS = pass-script.test xfail-script.test @script_tests@
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)
@@ -51,7 +52,7 @@ cp pass-script.test subst-pass-script.sh
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
@@ -72,7 +73,7 @@ for vpath in false : ; do
$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
diff --git a/t/check-tests-in-builddir.sh b/t/check-tests-in-builddir.sh
index 9f1fe4a6b..323c3bca2 100755
--- a/t/check-tests-in-builddir.sh
+++ b/t/check-tests-in-builddir.sh
@@ -17,6 +17,7 @@
# Check that the testsuite driver can find test in the srcdir as
# well as in builddir, and that is prefers those in the builddir.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
cat >> configure.ac << 'END'
@@ -55,26 +56,27 @@ $MAKE check >out 2>&1 || { cat out; Exit1; }
cat out
# The simple-tests driver does not strip VPATH components from
# the name of the test, but the parallel-tests driver should.
-if test x"$am_parallel_tests" = x"yes"; then
- grep '\.\./foo' out && Exit 1
- grep '^PASS: foo.test *$' out
+if test x"$am_serial_tests" = x"yes"; then
+ grep '^PASS: .*foo\.test *$' out
else
- grep '^PASS: .*foo.test *$' out
+ grep '\.\./foo' out && Exit 1
+ grep '^PASS: foo\.test *$' out
fi
-grep '^PASS: bar.test *$' out
+grep '^PASS: bar\.test *$' out
rm -f test-suite.log foo.log bar.log
FOO_EXIT_STATUS=1 $MAKE check >out 2>&1 && { cat out; Exit1; }
cat out
-# See comments above.
-if test x"$am_parallel_tests" = x"yes"; then
- grep '\.\./foo' out && Exit 1
- grep '^FAIL: foo.test *$' out
+# The simple-tests driver does not strip VPATH components from
+# the name of the test, but the parallel-tests driver should.
+if test x"$am_serial_tests" = x"yes"; then
+ grep '^FAIL: .*foo\.test *$' out
else
- grep '^FAIL: .*foo.test *$' out
+ grep '\.\./foo' out && Exit 1
+ grep '^FAIL: foo\.test *$' out
fi
-grep '^PASS: bar.test *$' out
+grep '^PASS: bar\.test *$' out
rm -f test-suite.log foo.log bar.log
@@ -83,8 +85,8 @@ rm -f test-suite.log foo.log bar.log
cp bar.test foo.test
FOO_EXIT_STATUS=1 $MAKE check >out 2>&1 || { cat out; Exit1; }
cat out
-grep '^PASS: foo.test *$' out
-grep '^PASS: bar.test *$' out
+grep '^PASS: foo\.test *$' out
+grep '^PASS: bar\.test *$' out
# The tests in the builddir must be preferred also by "make dist".
FOO_EXIT_STATUS=1 $MAKE distcheck
diff --git a/t/check.sh b/t/check.sh
index c9ab0fa0f..1edd60fb0 100755
--- a/t/check.sh
+++ b/t/check.sh
@@ -16,15 +16,14 @@
# Test Automake style tests.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
cat > Makefile.am << 'END'
TESTS = frob.test
END
-test x"$am_parallel_tests" != x"yes" || : > test-driver
-
-: > frob.test
+test x"$am_serial_tests" = x"yes" || : > test-driver
$ACLOCAL
$AUTOMAKE
diff --git a/t/check10.sh b/t/check10.sh
index 3b3ee8bdf..9f436ad3d 100755
--- a/t/check10.sh
+++ b/t/check10.sh
@@ -17,7 +17,7 @@
# Check singular and plural in test summaries.
# This test only makes sense for the older serial testsuite driver.
-am_parallel_tests=no
+am_serial_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/check11.sh b/t/check11.sh
index e78da0f16..fc1209c61 100755
--- a/t/check11.sh
+++ b/t/check11.sh
@@ -16,6 +16,7 @@
# Check skip summary.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
cat >> configure.ac << 'END'
@@ -41,20 +42,20 @@ $AUTOMAKE -a
env TESTS=skip $MAKE -e check >stdout || { cat stdout; Exit 1; }
cat stdout
-if test x"$am_parallel_tests" = x"yes"; then
- count_test_results total=1 pass=0 fail=0 skip=1 xfail=0 xpass=0 error=0
-else
+if test x"$am_serial_tests" = x"yes"; then
grep '1.*passed' stdout && Exit 1
: For shells with buggy 'set -e'.
+else
+ count_test_results total=1 pass=0 fail=0 skip=1 xfail=0 xpass=0 error=0
fi
env TESTS="skip skip2" $MAKE -e check >stdout || { cat stdout; Exit 1; }
cat stdout
-if test x"$am_parallel_tests" = x"yes"; then
- count_test_results total=2 pass=0 fail=0 skip=2 xfail=0 xpass=0 error=0
-else
+if test x"$am_serial_tests" = x"yes"; then
grep '2.*passed' stdout && Exit 1
: For shells with buggy 'set -e'.
+else
+ count_test_results total=2 pass=0 fail=0 skip=2 xfail=0 xpass=0 error=0
fi
:
diff --git a/t/check12.sh b/t/check12.sh
index a21c6daff..dbb3101df 100755
--- a/t/check12.sh
+++ b/t/check12.sh
@@ -17,6 +17,7 @@
# Test to make sure dejagnu tests, automake-style tests, and check-local
# target can coexist.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
required=runtest
. ./defs || Exit 1
@@ -118,8 +119,8 @@ for vpath in : false; do
if $vpath; then
srcdir=..
- mkdir build_
- cd build_
+ mkdir build
+ cd build
else
srcdir=.
fi
@@ -136,7 +137,7 @@ for vpath in : false; do
test -f spanner.log
test -f spanner.sum
# This checks will be run only by the autogenerated 'check12-p.test'.
- if test x"$am_parallel_tests" = x"yes"; then
+ if test x"$am_serial_tests" != x"yes"; then
test -f test-suite.log
test -f a.log
test -f b.log
@@ -168,7 +169,7 @@ for vpath in : false; do
B_EXIT_STATUS=1 $MAKE check && Exit 1
# This checks will be run only by the autogenerated 'check12-p.test'.
- if test x"$am_parallel_tests" = x"yes"; then
+ if test x"$am_serial_tests" != x"yes"; then
cat test-suite.log
cat a.log
cat b.log
@@ -192,7 +193,7 @@ for vpath in : false; do
grep 'FAIL: test_hammer' hammer.sum
grep 'FAIL:' spanner.sum && Exit 1
# This checks will be run only by the autogenerated 'check12-p.test'.
- if test x"$am_parallel_tests" = x"yes"; then
+ if test x"$am_serial_tests" != x"yes"; then
cat test-suite.log
cat a.log
cat b.log
diff --git a/t/check2.sh b/t/check2.sh
index 8a05c9cc8..73eb0b7a5 100755
--- a/t/check2.sh
+++ b/t/check2.sh
@@ -16,6 +16,7 @@
# Test Automake style tests.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
cat >> configure.ac << 'END'
@@ -43,9 +44,7 @@ echo.sh:
CLEANFILES = echo.sh
END
-if test x"$am_parallel_tests" = x"yes"; then
- cp "$am_scriptdir/test-driver" .
-fi
+test x"$am_serial_tests" = x"yes" || cp "$am_scriptdir/test-driver" .
$ACLOCAL
$AUTOCONF
diff --git a/t/check3.sh b/t/check3.sh
index 3edfd9872..69b6a674c 100755
--- a/t/check3.sh
+++ b/t/check3.sh
@@ -17,6 +17,7 @@
# Make sure 'check:' and 'install:' honor $(BUILT_SOURCES).
# PR/359.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/check4.sh b/t/check4.sh
index 26548b3db..78415e08d 100755
--- a/t/check4.sh
+++ b/t/check4.sh
@@ -16,6 +16,7 @@
# Make sure 'make -k check' processes all directories.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/check5.sh b/t/check5.sh
index 31790f8af..8865f3e67 100755
--- a/t/check5.sh
+++ b/t/check5.sh
@@ -16,6 +16,7 @@
# Test TESTS = $(check_PROGRAMS)
+# For gen-testsuite-part: ==> try-with-serial-tests <==
required='cc native'
. ./defs || Exit 1
diff --git a/t/check6.sh b/t/check6.sh
index b6f6a670b..0f33f8d55 100755
--- a/t/check6.sh
+++ b/t/check6.sh
@@ -17,6 +17,7 @@
# Test for PR 400: XFAIL_TESTS delimited by TABs.
# Also test that Solaris make VPATH rewriting is honored
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/check7.sh b/t/check7.sh
index 574569b90..54d2b2bd3 100755
--- a/t/check7.sh
+++ b/t/check7.sh
@@ -16,6 +16,7 @@
# Check EXEEXT extension for XFAIL_TESTS.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
required=cc
. ./defs || Exit 1
diff --git a/t/check8.sh b/t/check8.sh
index 75a4bef63..d33c002cf 100755
--- a/t/check8.sh
+++ b/t/check8.sh
@@ -16,6 +16,7 @@
# Check subdir TESTS.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
required='cc native'
. ./defs || Exit 1
diff --git a/t/color.sh b/t/color.sh
index c9a1ab999..6f5c902b9 100755
--- a/t/color.sh
+++ b/t/color.sh
@@ -17,6 +17,7 @@
# Test Automake TESTS color output, by forcing it.
# Keep this in sync with the sister test 'color2.test'.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
esc=''
@@ -85,10 +86,10 @@ test_color ()
cat stdout | grep "^${red}XPASS${std}: .*xpass"
# The old serial testsuite driver doesn't distinguish between failures
# and hard errors.
- if test x"$am_parallel_tests" = x"yes"; then
- cat stdout | grep "^${mgn}ERROR${std}: .*error"
- else
+ if test x"$am_serial_tests" = x"yes"; then
cat stdout | grep "^${red}FAIL${std}: .*error"
+ else
+ cat stdout | grep "^${mgn}ERROR${std}: .*error"
fi
:
}
diff --git a/t/color2.sh b/t/color2.sh
index 75f5034ef..b073d5cb3 100755
--- a/t/color2.sh
+++ b/t/color2.sh
@@ -17,6 +17,7 @@
# Test Automake TESTS color output, using the expect(1) program.
# Keep this in sync with the sister test 'color.test'.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
esc=''
@@ -115,10 +116,10 @@ test_color ()
cat stdout | grep "^${red}XPASS${std}: .*xpass"
# The old serial testsuite driver doesn't distinguish between failures
# and hard errors.
- if test x"$am_parallel_tests" = x"yes"; then
- cat stdout | grep "^${mgn}ERROR${std}: .*error"
- else
+ if test x"$am_serial_tests" = x"yes"; then
cat stdout | grep "^${red}FAIL${std}: .*error"
+ else
+ cat stdout | grep "^${mgn}ERROR${std}: .*error"
fi
:
}
diff --git a/t/cygnus-imply-foreign.sh b/t/cygnus-imply-foreign.sh
index 3dcf6715a..1173a47da 100755
--- a/t/cygnus-imply-foreign.sh
+++ b/t/cygnus-imply-foreign.sh
@@ -50,7 +50,7 @@ mv -f Makefile.sav Makefile.am
# Try again, this time enabling cygnus mode from configure.ac.
cp configure.ac configure.sav
-sed 's/^AM_INIT_AUTOMAKE$/&([gnits cygnus])/' configure.sav >configure.ac
+sed 's/^AM_INIT_AUTOMAKE/&([gnits cygnus])/' configure.sav >configure.ac
cmp configure.ac configure.sav && fatal_ 'failed to edit configure.ac'
$ACLOCAL --force
diff --git a/t/dejagnu.sh b/t/dejagnu.sh
index 14b118c8a..583158f34 100755
--- a/t/dejagnu.sh
+++ b/t/dejagnu.sh
@@ -24,7 +24,7 @@ AUTOMAKE_OPTIONS = dejagnu
TESTS = frob.test
END
-test x"$am_parallel_tests" != x"yes" || : > test-driver
+test x"$am_serial_tests" = x"yes" || : > test-driver
$ACLOCAL
$AUTOMAKE
diff --git a/t/dist-auxdir-many-subdirs.sh b/t/dist-auxdir-many-subdirs.sh
index db9aa9407..f84514a79 100755
--- a/t/dist-auxdir-many-subdirs.sh
+++ b/t/dist-auxdir-many-subdirs.sh
@@ -18,7 +18,6 @@
# same config-aux files.
am_create_testdir=empty
-am_parallel_tests=yes
required=cc
. ./defs || Exit 1
diff --git a/t/distcheck-pr10470.sh b/t/distcheck-pr10470.sh
index 1b6a3226a..e4d8252bf 100755
--- a/t/distcheck-pr10470.sh
+++ b/t/distcheck-pr10470.sh
@@ -19,7 +19,6 @@
# by a process (e.g., that is its "current working directory").
# See automake bug#10470.
-am_parallel_tests=no
. ./defs || Exit 1
mkdir foo.d
diff --git a/t/exeext4.sh b/t/exeext4.sh
index 298879dee..d9099b609 100755
--- a/t/exeext4.sh
+++ b/t/exeext4.sh
@@ -17,6 +17,7 @@
# Make sure $(EXEEXT) is appended to programs and to tests that are
# programs, but not to @substitutions@.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/java-compile-run-flat.sh b/t/java-compile-run-flat.sh
index 79083af0b..9f3c18441 100755
--- a/t/java-compile-run-flat.sh
+++ b/t/java-compile-run-flat.sh
@@ -24,7 +24,7 @@
# 'parallel-tests' driver.
required='java javac'
-am_parallel_tests=no
+am_serial_tests=yes
. ./defs || Exit 1
echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.ac
diff --git a/t/java-compile-run-nested.sh b/t/java-compile-run-nested.sh
index d4a780023..61727f7c9 100755
--- a/t/java-compile-run-nested.sh
+++ b/t/java-compile-run-nested.sh
@@ -25,7 +25,6 @@
# of the older non-parallel 'simple-tests' driver.
required='java javac'
-am_parallel_tests=yes
. ./defs || Exit 1
echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.ac
diff --git a/t/make-dryrun.tap b/t/make-dryrun.tap
index 37692059b..2172124b5 100755
--- a/t/make-dryrun.tap
+++ b/t/make-dryrun.tap
@@ -16,7 +16,6 @@
# Check that $(am__make_dryrun) works as expected.
-am_parallel_tests=yes # Avoid generation of a useless wrapper test.
. ./defs || Exit 1
plan_ 14
diff --git a/t/maken3.sh b/t/maken3.sh
index 2018549e5..832bdcf59 100755
--- a/t/maken3.sh
+++ b/t/maken3.sh
@@ -24,6 +24,7 @@
# This test exercises the GCS-mandated targets (except for dist)
# as well as tags, TAGS.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
# Does $MAKE support the '.MAKE' special target?
diff --git a/t/parallel-tests-cmdline-override.sh b/t/parallel-tests-cmdline-override.sh
index 86b0c94ef..5c48640cc 100755
--- a/t/parallel-tests-cmdline-override.sh
+++ b/t/parallel-tests-cmdline-override.sh
@@ -17,7 +17,6 @@
# Check that we can use indirections when overriding TESTS and
# TEST_LOGS from the command line.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-console-output.sh b/t/parallel-tests-console-output.sh
index ac43b2537..5a78efdbd 100755
--- a/t/parallel-tests-console-output.sh
+++ b/t/parallel-tests-console-output.sh
@@ -17,7 +17,6 @@
# parallel-tests: some checks on console output about testsuite
# progress.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-driver-install.sh b/t/parallel-tests-driver-install.sh
index b538799e0..fcfa38d7f 100755
--- a/t/parallel-tests-driver-install.sh
+++ b/t/parallel-tests-driver-install.sh
@@ -17,7 +17,6 @@
# Check that auxiliary script 'test-driver' gets automatically installed
# in the correct directory by 'parallel-tests' option.
-am_parallel_tests=yes
. ./defs || Exit 1
: Try first with parallel-tests defined in AM_INIT_AUTOMAKE.
diff --git a/t/parallel-tests-dry-run-1.sh b/t/parallel-tests-dry-run-1.sh
index b094c1841..6fdcb9820 100755
--- a/t/parallel-tests-dry-run-1.sh
+++ b/t/parallel-tests-dry-run-1.sh
@@ -17,7 +17,6 @@
# Check parallel-tests interactions with "make -n".
# See also sister test 'parallel-tests-dry-run-2.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
echo AC_OUTPUT >> configure.ac
diff --git a/t/parallel-tests-dry-run-2.sh b/t/parallel-tests-dry-run-2.sh
index 0d13677c2..20ccb5dc4 100755
--- a/t/parallel-tests-dry-run-2.sh
+++ b/t/parallel-tests-dry-run-2.sh
@@ -17,7 +17,6 @@
# Check parallel-tests interactions with "make -n".
# See also sister test 'parallel-tests-dry-run-1.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-empty-testlogs.sh b/t/parallel-tests-empty-testlogs.sh
index 0ea6db837..619eae556 100755
--- a/t/parallel-tests-empty-testlogs.sh
+++ b/t/parallel-tests-empty-testlogs.sh
@@ -18,7 +18,6 @@
# - empty TESTS
# - empty TEST_LOGS
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-exeext.sh b/t/parallel-tests-exeext.sh
index e93f5f10d..5a3af46cb 100755
--- a/t/parallel-tests-exeext.sh
+++ b/t/parallel-tests-exeext.sh
@@ -17,7 +17,6 @@
# parallel-tests:
# - check2.am and interaction with $(EXEEXT)
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-exit-statuses.sh b/t/parallel-tests-exit-statuses.sh
index 688ff8447..90583d59c 100755
--- a/t/parallel-tests-exit-statuses.sh
+++ b/t/parallel-tests-exit-statuses.sh
@@ -17,7 +17,6 @@
# Check parallel-tests features: normal and special exit statuses
# in the test scripts.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-extra-programs.sh b/t/parallel-tests-extra-programs.sh
index d95d18476..c9d13da70 100755
--- a/t/parallel-tests-extra-programs.sh
+++ b/t/parallel-tests-extra-programs.sh
@@ -18,7 +18,6 @@
# (or even be) $(EXTRA_PROGRAMS).
required='cc native'
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-fd-redirect-exeext.sh b/t/parallel-tests-fd-redirect-exeext.sh
index 56d7f5990..5683658f4 100755
--- a/t/parallel-tests-fd-redirect-exeext.sh
+++ b/t/parallel-tests-fd-redirect-exeext.sh
@@ -22,7 +22,6 @@
# sister test 'parallel-tests-fd-redirect.test'.
required='cc native'
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-fd-redirect.sh b/t/parallel-tests-fd-redirect.sh
index cf7acce10..d2dba94ae 100755
--- a/t/parallel-tests-fd-redirect.sh
+++ b/t/parallel-tests-fd-redirect.sh
@@ -20,7 +20,6 @@
# check for tests that are binary executables.
# See also the more generic test 'check-fd-redirect.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-fork-bomb.sh b/t/parallel-tests-fork-bomb.sh
index ceeeabee6..108d6eab6 100755
--- a/t/parallel-tests-fork-bomb.sh
+++ b/t/parallel-tests-fork-bomb.sh
@@ -18,7 +18,6 @@
# - If $(TEST_SUITE_LOG) is in $(TEST_LOGS), we get a diagnosed
# error, not a make hang or a system freeze.
-am_parallel_tests=yes
. ./defs || Exit 1
# We don't want localized error messages from make, since we'll have
diff --git a/t/parallel-tests-harderror.sh b/t/parallel-tests-harderror.sh
index 7b6625190..fc7a3c31a 100755
--- a/t/parallel-tests-harderror.sh
+++ b/t/parallel-tests-harderror.sh
@@ -16,7 +16,6 @@
# Check parallel-tests features: DISABLE_HARD_ERRORS
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-interrupt.tap b/t/parallel-tests-interrupt.tap
index 39a04a753..afc19568d 100755
--- a/t/parallel-tests-interrupt.tap
+++ b/t/parallel-tests-interrupt.tap
@@ -19,7 +19,6 @@
# but we couldn't find a better way to deal with inter-processes
# signals and the whole process-synchronization mess.
-am_parallel_tests=yes
. ./defs || Exit 1
plan_ 16
diff --git a/t/parallel-tests-log-compiler-1.sh b/t/parallel-tests-log-compiler-1.sh
index 77bdac406..1f16d9f03 100755
--- a/t/parallel-tests-log-compiler-1.sh
+++ b/t/parallel-tests-log-compiler-1.sh
@@ -19,7 +19,6 @@
# and xxx_LOG_FLAGS), also with AC_SUBST'd stuff.
# See also related test 'parallel-tests-log-compiler-2.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-log-compiler-2.sh b/t/parallel-tests-log-compiler-2.sh
index 7443e263f..72fba680c 100755
--- a/t/parallel-tests-log-compiler-2.sh
+++ b/t/parallel-tests-log-compiler-2.sh
@@ -19,7 +19,6 @@
# and xxx_LOG_FLAGS), when some tests are PROGRAMS.
# See also related test 'parallel-tests-log-compiler-1.test'.
-am_parallel_tests=yes
required='cc native'
. ./defs || Exit 1
diff --git a/t/parallel-tests-log-compiler-example.sh b/t/parallel-tests-log-compiler-example.sh
index 8b4575861..60dd7bd50 100755
--- a/t/parallel-tests-log-compiler-example.sh
+++ b/t/parallel-tests-log-compiler-example.sh
@@ -17,7 +17,6 @@
# Test the example of usage of generic and extension-specific
# LOG_COMPILER and LOG_FLAGS given in the manual.
-am_parallel_tests=yes
required=python
. ./defs || Exit 1
diff --git a/t/parallel-tests-log-override-1.sh b/t/parallel-tests-log-override-1.sh
index f76d193cc..55f60829f 100755
--- a/t/parallel-tests-log-override-1.sh
+++ b/t/parallel-tests-log-override-1.sh
@@ -16,7 +16,6 @@
# Check parallel-tests features: runtime redefinition of $(TEST_SUITE_LOG).
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<'END'
diff --git a/t/parallel-tests-log-override-2.sh b/t/parallel-tests-log-override-2.sh
index ca0b59fbb..eccefccee 100755
--- a/t/parallel-tests-log-override-2.sh
+++ b/t/parallel-tests-log-override-2.sh
@@ -18,7 +18,6 @@
# - $(TEST_SUITE_LOG) and $(TESTS)
# - $(TEST_SUITE_LOG) and $(TEST_LOGS)
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<'END'
diff --git a/t/parallel-tests-log-override-recheck.sh b/t/parallel-tests-log-override-recheck.sh
index c7c1b2b39..5fc39a4d5 100755
--- a/t/parallel-tests-log-override-recheck.sh
+++ b/t/parallel-tests-log-override-recheck.sh
@@ -17,7 +17,6 @@
# Check parallel-tests features: runtime redefinition of $(TEST_SUITE_LOG)
# for the recheck target.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<'END'
diff --git a/t/parallel-tests-many.sh b/t/parallel-tests-many.sh
index a09dbe518..65db6e6ca 100755
--- a/t/parallel-tests-many.sh
+++ b/t/parallel-tests-many.sh
@@ -18,7 +18,6 @@
# an exceeded command line length when there are many tests.
# For automake bug#7868. This test is currently expected to fail.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-no-color-in-log.sh b/t/parallel-tests-no-color-in-log.sh
index 17115b943..69414f7fe 100755
--- a/t/parallel-tests-no-color-in-log.sh
+++ b/t/parallel-tests-no-color-in-log.sh
@@ -16,7 +16,6 @@
# Colorized output from the testsuite report shouldn't end up in log files.
-am_parallel_tests=yes
. ./defs || Exit 1
esc=''
diff --git a/t/parallel-tests-no-spurious-summary.sh b/t/parallel-tests-no-spurious-summary.sh
index 62b4ef64c..6400b3b95 100755
--- a/t/parallel-tests-no-spurious-summary.sh
+++ b/t/parallel-tests-no-spurious-summary.sh
@@ -17,7 +17,6 @@
# Check that ':test-results:' directives in test scripts' output doesn't
# originate spurious results in the testsuite summary.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-once.sh b/t/parallel-tests-once.sh
index 53ee677fb..51912fbd1 100755
--- a/t/parallel-tests-once.sh
+++ b/t/parallel-tests-once.sh
@@ -18,7 +18,6 @@
# clean directory. An early implementation of the '.trs' intermediate
# files incurred a similar problem.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-recheck-depends-on-all.sh b/t/parallel-tests-recheck-depends-on-all.sh
index 6c9e4cba9..9464a360d 100755
--- a/t/parallel-tests-recheck-depends-on-all.sh
+++ b/t/parallel-tests-recheck-depends-on-all.sh
@@ -17,7 +17,6 @@
# The parallel-tests 'recheck' target must depend on the 'all' target.
# See automake bug#11252.
-am_parallel_tests=yes
required='cc native'
. ./defs || Exit 1
diff --git a/t/parallel-tests-reset-term.sh b/t/parallel-tests-reset-term.sh
index 53e542c27..cf9fb6cfb 100755
--- a/t/parallel-tests-reset-term.sh
+++ b/t/parallel-tests-reset-term.sh
@@ -17,7 +17,6 @@
# Check that the parallel-tests driver correctly handle overrides of the
# TERM variable by either TESTS_ENVIRONMENT and AM_TESTS_ENVIRONMENT.
-am_parallel_tests=yes
. ./defs || Exit 1
esc='['
diff --git a/t/parallel-tests-subdir.sh b/t/parallel-tests-subdir.sh
index 6848edbd8..2698a53df 100755
--- a/t/parallel-tests-subdir.sh
+++ b/t/parallel-tests-subdir.sh
@@ -17,7 +17,6 @@
# Check that the parallel-tests driver creates parent directories for
# the log files when needed.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-suffix-prog.sh b/t/parallel-tests-suffix-prog.sh
index abd4a5c42..28dd34991 100755
--- a/t/parallel-tests-suffix-prog.sh
+++ b/t/parallel-tests-suffix-prog.sh
@@ -18,7 +18,6 @@
# - suffix rules, with PROGRAMS involved
# See also sister test 'parallel-tests-suffix.test'.
-am_parallel_tests=yes
required='cc native'
. ./defs || Exit 1
diff --git a/t/parallel-tests-suffix.sh b/t/parallel-tests-suffix.sh
index bd72d0d57..9e9e8432a 100755
--- a/t/parallel-tests-suffix.sh
+++ b/t/parallel-tests-suffix.sh
@@ -18,7 +18,6 @@
# - suffix rules
# See also sister test 'parallel-tests-suffix-prog.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests-trailing-bslash.sh b/t/parallel-tests-trailing-bslash.sh
index 4b3bdf847..129176480 100755
--- a/t/parallel-tests-trailing-bslash.sh
+++ b/t/parallel-tests-trailing-bslash.sh
@@ -19,7 +19,6 @@
# older bash versions (e.g., bash 2.05b).
# See automake bug#10436.
-am_parallel_tests=yes
. ./defs || Exit 1
echo AC_OUTPUT >> configure.ac
diff --git a/t/parallel-tests-unreadable.sh b/t/parallel-tests-unreadable.sh
index 7ddb9db5b..98591e672 100755
--- a/t/parallel-tests-unreadable.sh
+++ b/t/parallel-tests-unreadable.sh
@@ -17,7 +17,6 @@
# Check that the testsuite driver copes well with unreadable '.log'
# and '.trs' files.
-am_parallel_tests=yes
. ./defs || Exit 1
: > t
diff --git a/t/parallel-tests.sh b/t/parallel-tests.sh
index 891d7bd80..459a24daf 100755
--- a/t/parallel-tests.sh
+++ b/t/parallel-tests.sh
@@ -23,7 +23,6 @@
# - TEST_LOGS redefinition at runtime
# - RECHECK_LOGS redefinition at runtime
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests10.sh b/t/parallel-tests10.sh
index 239648263..9746024d7 100755
--- a/t/parallel-tests10.sh
+++ b/t/parallel-tests10.sh
@@ -18,7 +18,6 @@
# - trailing whitespace in TESTS
# GNU make 3.80 may expand trailing white space to '.log'.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests2.sh b/t/parallel-tests2.sh
index 73daf4356..d54b9e827 100755
--- a/t/parallel-tests2.sh
+++ b/t/parallel-tests2.sh
@@ -20,7 +20,6 @@
# FIXME: the features tested by this script has been moved in contrib.
# FIXME: We should move this script accordingly.
-am_parallel_tests=yes
. ./defs || Exit 1
# Try the variants that are tried in check-html.am.
diff --git a/t/parallel-tests3.sh b/t/parallel-tests3.sh
index 98467e6ae..8e3be0e50 100755
--- a/t/parallel-tests3.sh
+++ b/t/parallel-tests3.sh
@@ -17,7 +17,6 @@
# Check parallel-tests features:
# - concurrent parallel execution
-am_parallel_tests=yes
. ./defs || Exit 1
case $MAKE in
diff --git a/t/parallel-tests5.sh b/t/parallel-tests5.sh
index 9f0a9669e..bb5a876ab 100755
--- a/t/parallel-tests5.sh
+++ b/t/parallel-tests5.sh
@@ -20,7 +20,6 @@
# Actually, this test doesn't ensure that things happen concurrently.
# It merely serves as demonstration. :-)
-am_parallel_tests=yes
required='cc native GNUmake'
. ./defs || Exit 1
diff --git a/t/parallel-tests6.sh b/t/parallel-tests6.sh
index eee653810..46b455c0e 100755
--- a/t/parallel-tests6.sh
+++ b/t/parallel-tests6.sh
@@ -19,7 +19,6 @@
# BSD make will expand '$(TESTS:=.log)' to '.log' unless overridden.
# See parallel-tests10.test for a similar issue.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
AC_OUTPUT
diff --git a/t/parallel-tests8.sh b/t/parallel-tests8.sh
index 8e35b6b61..7363929d3 100755
--- a/t/parallel-tests8.sh
+++ b/t/parallel-tests8.sh
@@ -24,7 +24,6 @@
# manual for the ugliness in this area, when VPATH comes into
# play. :-/
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/parallel-tests9.sh b/t/parallel-tests9.sh
index f22be8d73..42d0e2d9c 100755
--- a/t/parallel-tests9.sh
+++ b/t/parallel-tests9.sh
@@ -17,7 +17,6 @@
# Check parallel-tests features:
# - recheck
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/posixsubst-tests.sh b/t/posixsubst-tests.sh
index 27a451dbf..a51176b83 100755
--- a/t/posixsubst-tests.sh
+++ b/t/posixsubst-tests.sh
@@ -17,6 +17,7 @@
# Test that POSIX variable expansion '$(var:str=rpl)' works when used
# with the TESTS special variable.
+# For gen-testsuite-part: ==> try-with-serial-tests <==
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/pr401.sh b/t/pr401.sh
index a14349849..849ee5fc2 100755
--- a/t/pr401.sh
+++ b/t/pr401.sh
@@ -17,7 +17,6 @@
# Check support for AC_CONFIG_LIBOBJ_DIR vs LIBOBJS.
# (pr401b.test and pr401c.test do the same for LTLIBOBJS and ALLOCA)
-am_parallel_tests=no
required=cc
. ./defs || Exit 1
@@ -83,7 +82,7 @@ cp "$am_scriptdir/ar-lib" . || fatal_ "fetching auxiliary script 'ar-lib'"
$ACLOCAL
$AUTOCONF
-$AUTOMAKE
+$AUTOMAKE -a
./configure
$MAKE distcheck
diff --git a/t/pr401b.sh b/t/pr401b.sh
index 3d15671c2..382d1181e 100755
--- a/t/pr401b.sh
+++ b/t/pr401b.sh
@@ -17,7 +17,6 @@
# Check support for AC_CONFIG_LIBOBJ_DIR vs LTLIBOBJS.
# (pr401.test and pr401c.test do the same for LIBOBJS and ALLOCA)
-am_parallel_tests=no
required='cc libtoolize'
. ./defs || Exit 1
diff --git a/t/pr401c.sh b/t/pr401c.sh
index 1f238f615..12afade9d 100755
--- a/t/pr401c.sh
+++ b/t/pr401c.sh
@@ -17,14 +17,12 @@
# Check support for AC_CONFIG_LIBOBJ_DIR vs ALLOCA.
# (pr401.test and pr401b.test do the same for LIBOBJS and LTLIBOBJS)
-am_parallel_tests=no
required=cc
. ./defs || Exit 1
mkdir lib src
-ac_cv_func_alloca_works=no
-export ac_cv_func_alloca_works
+ac_cv_func_alloca_works=no; export ac_cv_func_alloca_works
cat >lib/alloca.c <<'EOF'
const char *feep (void)
@@ -85,7 +83,7 @@ cp "$am_scriptdir/ar-lib" . || fatal_ "fetching auxiliary script 'ar-lib'"
$ACLOCAL
$AUTOCONF
-$AUTOMAKE
+$AUTOMAKE -a
./configure
$MAKE distcheck
diff --git a/t/self-check-env-sanitize.tap b/t/self-check-env-sanitize.tap
index bc7818610..c6ac98024 100755
--- a/t/self-check-env-sanitize.tap
+++ b/t/self-check-env-sanitize.tap
@@ -29,7 +29,7 @@ plan_ 18 # Two times the number of variable names in $vars.
vars='
me
required
- am_parallel_tests
+ am_serial_tests
am_using_tap
am_create_testdir
am_tap_implementation
diff --git a/t/serial-tests.sh b/t/serial-tests.sh
index 680513f5b..4ec471007 100755
--- a/t/serial-tests.sh
+++ b/t/serial-tests.sh
@@ -16,8 +16,6 @@
# Option 'serial-tests'.
-# To avoid useless generation of a sibling test.
-am_parallel_tests=yes
am_create_testdir=empty
. ./defs || Exit 1
@@ -38,7 +36,7 @@ has_parallel_tests ()
mkdir one two
-cat >> one/configure.ac <<END
+cat > one/configure.ac <<END
AC_INIT([$me], [1.0])
AM_INIT_AUTOMAKE([serial-tests])
AC_CONFIG_FILES([Makefile])
@@ -46,7 +44,7 @@ END
echo 'TESTS = foo.test bar.test' > one/Makefile.am
-cat >> two/configure.ac <<END
+cat > two/configure.ac <<END
AC_INIT([$me], [2.0])
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE([parallel-tests])
diff --git a/t/tap-ambiguous-directive.sh b/t/tap-ambiguous-directive.sh
index 32b1b803e..75a259cbe 100755
--- a/t/tap-ambiguous-directive.sh
+++ b/t/tap-ambiguous-directive.sh
@@ -18,7 +18,6 @@
# - handling of "ambiguous" TODO and SKIP directives
# See also related test 'tap-todo-skip-together.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-autonumber.sh b/t/tap-autonumber.sh
index 4e88f3de0..8771ddf33 100755
--- a/t/tap-autonumber.sh
+++ b/t/tap-autonumber.sh
@@ -20,7 +20,6 @@
# - test results without number get automatically numbered in the
# console progress output
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-bad-prog.tap b/t/tap-bad-prog.tap
index 580e7d31c..82cf4e42f 100755
--- a/t/tap-bad-prog.tap
+++ b/t/tap-bad-prog.tap
@@ -18,7 +18,6 @@
# - missing, unreadable, or not-executable test scripts cause proper
# error reports
-am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/t/tap-bailout-and-logging.sh b/t/tap-bailout-and-logging.sh
index cc95d9881..e8e3756d8 100755
--- a/t/tap-bailout-and-logging.sh
+++ b/t/tap-bailout-and-logging.sh
@@ -18,7 +18,6 @@
# - even after a "Bail out!" directive, all input is still copied in
# the log file
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-bailout-leading-space.sh b/t/tap-bailout-leading-space.sh
index 94084d460..bd0d1fccb 100755
--- a/t/tap-bailout-leading-space.sh
+++ b/t/tap-bailout-leading-space.sh
@@ -20,7 +20,6 @@
# perl implementation of the Automake TAP driver, but expect the latter,
# "more modern" behaviour in our awk TAP driver.
-am_parallel_tests=yes
am_tap_implementation=shell
. ./defs || Exit 1
diff --git a/t/tap-bailout-suppress-badexit.sh b/t/tap-bailout-suppress-badexit.sh
index 196263992..c7e55db0a 100755
--- a/t/tap-bailout-suppress-badexit.sh
+++ b/t/tap-bailout-suppress-badexit.sh
@@ -18,7 +18,6 @@
# - A "Bail out!" directive causes the driver to ignore the exit
# status of the test script.
-am_parallel_tests=yes
. ./defs || Exit 1
tests='exit.test exit127.test sighup.test sigterm.test'
diff --git a/t/tap-bailout-suppress-later-diagnostic.sh b/t/tap-bailout-suppress-later-diagnostic.sh
index 9bc29dec5..bff4d64cc 100755
--- a/t/tap-bailout-suppress-later-diagnostic.sh
+++ b/t/tap-bailout-suppress-later-diagnostic.sh
@@ -18,7 +18,6 @@
# - A "Bail out!" directive causes the driver to ignore any TAP
# diagnostic message in the rest of the following TAP stream.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-bailout-suppress-later-errors.sh b/t/tap-bailout-suppress-later-errors.sh
index e6cc6c237..ff8388726 100755
--- a/t/tap-bailout-suppress-later-errors.sh
+++ b/t/tap-bailout-suppress-later-errors.sh
@@ -18,7 +18,6 @@
# - A "Bail out!" directive causes the driver to ignore any TAP
# result or error in the rest of the following TAP stream.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-bailout.sh b/t/tap-bailout.sh
index 0def87ef5..317eaa234 100755
--- a/t/tap-bailout.sh
+++ b/t/tap-bailout.sh
@@ -17,7 +17,6 @@
# Basic TAP test protocol support:
# - "Bail out!" magic
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-basic.sh b/t/tap-basic.sh
index 3d6d8fe23..c19c326b7 100755
--- a/t/tap-basic.sh
+++ b/t/tap-basic.sh
@@ -24,7 +24,6 @@
# Note that some of the features checked here are checked in other
# test cases too, usually in a more thorough and detailed way.
-am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/t/tap-color.sh b/t/tap-color.sh
index b803306df..6a91f0634 100755
--- a/t/tap-color.sh
+++ b/t/tap-color.sh
@@ -17,7 +17,6 @@
# TAP support:
# - colorization of TAP results and diagnostic messages
-am_parallel_tests=yes
. ./defs || Exit 1
esc=''
diff --git a/t/tap-common-setup.sh b/t/tap-common-setup.sh
index b14099a5f..8400da04b 100755
--- a/t/tap-common-setup.sh
+++ b/t/tap-common-setup.sh
@@ -16,7 +16,6 @@
# Auxiliary test to set up common data used by many tests on TAP support.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << END
diff --git a/t/tap-deps.sh b/t/tap-deps.sh
index 5049171d5..6ebe0f916 100755
--- a/t/tap-deps.sh
+++ b/t/tap-deps.sh
@@ -17,7 +17,6 @@
# Basic TAP test protocol support:
# - dependencies between test scripts
-am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/t/tap-diagnostic-custom.sh b/t/tap-diagnostic-custom.sh
index d3f28a577..c90f46fe0 100755
--- a/t/tap-diagnostic-custom.sh
+++ b/t/tap-diagnostic-custom.sh
@@ -18,7 +18,6 @@
# - option '--diagnostic-string' to customize the string introducing
# TAP diagnostics
-am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/t/tap-diagnostic.sh b/t/tap-diagnostic.sh
index 31f5df6e2..c849d657d 100755
--- a/t/tap-diagnostic.sh
+++ b/t/tap-diagnostic.sh
@@ -18,7 +18,6 @@
# - diagnostic messages (TAP lines with leading "#")
# - flags '--comments' and '--no-comments' of the TAP test driver
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-doc.sh b/t/tap-doc.sh
index 46b3b510c..22d542f59 100755
--- a/t/tap-doc.sh
+++ b/t/tap-doc.sh
@@ -17,7 +17,6 @@
# Check that an example given in the documentation really works.
# See section "Simple Tests" subsection "Script-based Testsuites".
-am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/t/tap-doc2.sh b/t/tap-doc2.sh
index 22327125f..0607112d3 100755
--- a/t/tap-doc2.sh
+++ b/t/tap-doc2.sh
@@ -19,7 +19,6 @@
# with the Automake test harness".
am_create_testdir=empty
-am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am <<'END'
diff --git a/t/tap-driver-stderr.sh b/t/tap-driver-stderr.sh
index 879d051b7..bb54ebf1f 100755
--- a/t/tap-driver-stderr.sh
+++ b/t/tap-driver-stderr.sh
@@ -18,7 +18,6 @@
# - error messages from awk/shell/perl goes to the console
required=non-root
-am_parallel_tests=yes
am_create_testdir=empty
. ./defs || Exit 1
diff --git a/t/tap-empty-diagnostic.sh b/t/tap-empty-diagnostic.sh
index 1a8a99ba2..e3f1e155a 100755
--- a/t/tap-empty-diagnostic.sh
+++ b/t/tap-empty-diagnostic.sh
@@ -17,7 +17,6 @@
# TAP support:
# - empty diagnostic messages are discarder
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-empty.sh b/t/tap-empty.sh
index 4d3bfda9c..bad40edb1 100755
--- a/t/tap-empty.sh
+++ b/t/tap-empty.sh
@@ -18,7 +18,6 @@
# - empty TAP input
# - blank TAP input
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-escape-directive-2.sh b/t/tap-escape-directive-2.sh
index 595c38458..1c72f7969 100755
--- a/t/tap-escape-directive-2.sh
+++ b/t/tap-escape-directive-2.sh
@@ -17,7 +17,6 @@
# TAP support:
# - "escape" TODO and SKIP directives (by escaping the "#" character)
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-escape-directive.sh b/t/tap-escape-directive.sh
index 8b242510b..6067af283 100755
--- a/t/tap-escape-directive.sh
+++ b/t/tap-escape-directive.sh
@@ -17,7 +17,6 @@
# TAP support:
# - "escape" TODO and SKIP directives (by escaping the "#" character)
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-exit.sh b/t/tap-exit.sh
index abc1ace0d..27179760f 100755
--- a/t/tap-exit.sh
+++ b/t/tap-exit.sh
@@ -19,7 +19,6 @@
# - the '--ignore-exit' option causes the TAP test driver to ignore
# exit statuses of the test scripts.
-am_parallel_tests=yes
. ./defs || Exit 1
echo TESTS = > Makefile.am
diff --git a/t/tap-fancy.sh b/t/tap-fancy.sh
index 6815ac54b..846a9d0e6 100755
--- a/t/tap-fancy.sh
+++ b/t/tap-fancy.sh
@@ -17,7 +17,6 @@
# TAP support: some unusual forms for valid TAP input.
# See also related test 'tap-fancy2.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-fancy2.sh b/t/tap-fancy2.sh
index bb51d54e5..6ab67c9f6 100755
--- a/t/tap-fancy2.sh
+++ b/t/tap-fancy2.sh
@@ -17,7 +17,6 @@
# TAP support: more unusual forms for valid TAP input.
# See also related test 'tap-fancy.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-global-log.sh b/t/tap-global-log.sh
index 69dc5b016..29e582c3f 100755
--- a/t/tap-global-log.sh
+++ b/t/tap-global-log.sh
@@ -17,7 +17,6 @@
# TAP support:
# - which log files get copied in the global log?
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-global-result.sh b/t/tap-global-result.sh
index 78d5c9fea..30215c714 100755
--- a/t/tap-global-result.sh
+++ b/t/tap-global-result.sh
@@ -18,7 +18,6 @@
# - which global test result derives from different test results
# mixed in a single script?
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-log.sh b/t/tap-log.sh
index ca564e1e5..5faf83894 100755
--- a/t/tap-log.sh
+++ b/t/tap-log.sh
@@ -22,7 +22,6 @@
# - VERBOSE environment variable support
# Keep in sync with 'test-log.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/t/tap-merge-stdout-stderr.sh b/t/tap-merge-stdout-stderr.sh
index 351b10d58..bca96a24c 100755
--- a/t/tap-merge-stdout-stderr.sh
+++ b/t/tap-merge-stdout-stderr.sh
@@ -18,7 +18,6 @@
# - The Automake TAP driver has an option that instruct it to read TAP
# input also from the stderr of the test command, not only its stdout.
-am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/t/tap-missing-plan-and-bad-exit.sh b/t/tap-missing-plan-and-bad-exit.sh
index e1ea4fd40..31a702c3b 100755
--- a/t/tap-missing-plan-and-bad-exit.sh
+++ b/t/tap-missing-plan-and-bad-exit.sh
@@ -19,7 +19,6 @@
# plan, then the driver reports both "missing plan" and "exited with
# non-zero status" errors.
-am_parallel_tests=yes
. ./defs || Exit 1
cat > foo.test <<END
diff --git a/t/tap-more.sh b/t/tap-more.sh
index d275bd93c..7970d7f80 100755
--- a/t/tap-more.sh
+++ b/t/tap-more.sh
@@ -24,7 +24,6 @@
# correct test script(s)
# - "make distcheck" works
-am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/t/tap-more2.sh b/t/tap-more2.sh
index 3cefd5800..b34e3c18d 100755
--- a/t/tap-more2.sh
+++ b/t/tap-more2.sh
@@ -20,7 +20,6 @@
# - interactions with 'check_*' variables
required='cc native'
-am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/t/tap-msg0-bailout.sh b/t/tap-msg0-bailout.sh
index 115ffcdb9..b9ef141c7 100755
--- a/t/tap-msg0-bailout.sh
+++ b/t/tap-msg0-bailout.sh
@@ -19,7 +19,6 @@
# of a "plan with skip" TAP plan
# generally true!
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-msg0-directive.sh b/t/tap-msg0-directive.sh
index 04d379071..cbd2fcee1 100755
--- a/t/tap-msg0-directive.sh
+++ b/t/tap-msg0-directive.sh
@@ -17,7 +17,6 @@
# TAP support:
# - literal string "0" as a TODO or SKIP message
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-msg0-misc.sh b/t/tap-msg0-misc.sh
index 6a515a8a8..06f400b78 100755
--- a/t/tap-msg0-misc.sh
+++ b/t/tap-msg0-misc.sh
@@ -18,7 +18,6 @@
# - literal "0" and "0.0" in a test description and a TODO/SKIP message
# at the same time
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-msg0-planskip.sh b/t/tap-msg0-planskip.sh
index 60aa5fe12..7f435e929 100755
--- a/t/tap-msg0-planskip.sh
+++ b/t/tap-msg0-planskip.sh
@@ -18,7 +18,6 @@
# - literal strings "0" and "0.0" as the reason of the skip in a "TAP
# plan with skip" (i.e., "1..0 # SKIP ...").
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-msg0-result.sh b/t/tap-msg0-result.sh
index 8c464c418..a2cc0a58d 100755
--- a/t/tap-msg0-result.sh
+++ b/t/tap-msg0-result.sh
@@ -17,7 +17,6 @@
# TAP support:
# - the string "0" as a test description
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-negative-numbers.sh b/t/tap-negative-numbers.sh
index 67ecb1e5e..11661a19b 100755
--- a/t/tap-negative-numbers.sh
+++ b/t/tap-negative-numbers.sh
@@ -18,7 +18,6 @@
# - don't spuriously recognize negative TAP result numbers, but correctly
# interpret them as test descriptions instead
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-no-disable-hard-error.sh b/t/tap-no-disable-hard-error.sh
index c95e20e97..5fa587d16 100755
--- a/t/tap-no-disable-hard-error.sh
+++ b/t/tap-no-disable-hard-error.sh
@@ -18,7 +18,6 @@
# - "Bail out!" magic and TAP parse errors are not disabled nor turned
# into simple failures by the definition DISABLE_HARD_ERRORS.
-am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/t/tap-no-merge-stdout-stderr.sh b/t/tap-no-merge-stdout-stderr.sh
index 0236ef8ac..eb6b0807a 100755
--- a/t/tap-no-merge-stdout-stderr.sh
+++ b/t/tap-no-merge-stdout-stderr.sh
@@ -18,7 +18,6 @@
# - By default, TAP input is only from the stdout (and not the stderr)
# of the test command.
-am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/t/tap-no-spurious-numbers.sh b/t/tap-no-spurious-numbers.sh
index 2fc993e01..4cdace02b 100755
--- a/t/tap-no-spurious-numbers.sh
+++ b/t/tap-no-spurious-numbers.sh
@@ -18,7 +18,6 @@
# - we shouldn't spuriously recognize as TAP result numbers what it
# not, even if it seems pretty close
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-no-spurious-summary.sh b/t/tap-no-spurious-summary.sh
index 8da15e8c3..a6437d81d 100755
--- a/t/tap-no-spurious-summary.sh
+++ b/t/tap-no-spurious-summary.sh
@@ -18,7 +18,6 @@
# - ':test-results:' directives in test scripts' output doesn't
# originate spurious results in the testsuite summary
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-no-spurious.sh b/t/tap-no-spurious.sh
index ac6e6687d..b9bca21fb 100755
--- a/t/tap-no-spurious.sh
+++ b/t/tap-no-spurious.sh
@@ -18,7 +18,6 @@
# - don't spuriously recognize lines that are "almost" TAP lines as
# real TAP lines
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-not-ok-skip.sh b/t/tap-not-ok-skip.sh
index 8cfffe2e4..f52127ce2 100755
--- a/t/tap-not-ok-skip.sh
+++ b/t/tap-not-ok-skip.sh
@@ -18,7 +18,6 @@
# - a "not ok # SKIP" line should count as a failure, for consistency
# with the prove(1) utility.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-number-wordboundary.sh b/t/tap-number-wordboundary.sh
index 7aa2c7f09..324adb627 100755
--- a/t/tap-number-wordboundary.sh
+++ b/t/tap-number-wordboundary.sh
@@ -18,7 +18,6 @@
# - TAP result numbers terminated by a non-whitespace "word boundary"
# character are recognized
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-numbers-leading-zero.sh b/t/tap-numbers-leading-zero.sh
index 345b31f0f..bbd0d0ece 100755
--- a/t/tap-numbers-leading-zero.sh
+++ b/t/tap-numbers-leading-zero.sh
@@ -17,7 +17,6 @@
# TAP support:
# - how does TAP result numbers with leading zero fares?
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-numeric-description.sh b/t/tap-numeric-description.sh
index b2f54f3b7..cd220a7d5 100755
--- a/t/tap-numeric-description.sh
+++ b/t/tap-numeric-description.sh
@@ -16,7 +16,6 @@
# TAP result lines whose description is a number.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-out-of-order.sh b/t/tap-out-of-order.sh
index d9f36a251..9e3d755fa 100755
--- a/t/tap-out-of-order.sh
+++ b/t/tap-out-of-order.sh
@@ -17,7 +17,6 @@
# TAP support:
# - out-of-order test results
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-passthrough-exit.sh b/t/tap-passthrough-exit.sh
index 75ce5f105..6014cc56c 100755
--- a/t/tap-passthrough-exit.sh
+++ b/t/tap-passthrough-exit.sh
@@ -19,7 +19,6 @@
# log file
# See also related test 'tap-passthrough.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/t/tap-passthrough.sh b/t/tap-passthrough.sh
index da05b1b1a..aa9fe5387 100755
--- a/t/tap-passthrough.sh
+++ b/t/tap-passthrough.sh
@@ -20,7 +20,6 @@
# - TAP errors are reported in the log file too
# See also related test 'tap-passthrough-exit.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
weirdchars=\''"\$@!&()[]<>#;,:.^?*/'
diff --git a/t/tap-plan-corner.sh b/t/tap-plan-corner.sh
index 3b9cd1fe9..601d5b745 100755
--- a/t/tap-plan-corner.sh
+++ b/t/tap-plan-corner.sh
@@ -17,7 +17,6 @@
# TAP support:
# - some corner cases for TAP plan
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-plan-errors.sh b/t/tap-plan-errors.sh
index 1b740599e..e0f6272e3 100755
--- a/t/tap-plan-errors.sh
+++ b/t/tap-plan-errors.sh
@@ -23,7 +23,6 @@
# and 'tap-skip-whole-badcount.test'. More checks about corner-cases
# in TAP plans are performed in 'tap-plan-corner.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-plan-leading-zero.sh b/t/tap-plan-leading-zero.sh
index bb45f31f6..949c25104 100755
--- a/t/tap-plan-leading-zero.sh
+++ b/t/tap-plan-leading-zero.sh
@@ -19,7 +19,6 @@
# - TAP "SKIP" plans with multiple zeroes, as in "1..00 # SKIP"
# This is consistent with the behaviour of the 'prove' utility.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-plan-malformed.sh b/t/tap-plan-malformed.sh
index c8d2cdc30..8aca466a5 100755
--- a/t/tap-plan-malformed.sh
+++ b/t/tap-plan-malformed.sh
@@ -17,7 +17,6 @@
# TAP support: a malformed TAP plan is not recognized. The checks in
# here should be consistent with the behaviour of the 'prove' utility.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-plan-middle.sh b/t/tap-plan-middle.sh
index 0775f1029..1c752fc75 100755
--- a/t/tap-plan-middle.sh
+++ b/t/tap-plan-middle.sh
@@ -17,7 +17,6 @@
# TAP support:
# - test plan preceding and/or following non-result TAP lines
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-plan-whitespace.sh b/t/tap-plan-whitespace.sh
index 7bdb4dc1d..a117fe02b 100755
--- a/t/tap-plan-whitespace.sh
+++ b/t/tap-plan-whitespace.sh
@@ -17,7 +17,6 @@
# TAP support:
# - plan line with trailing whitespace is recognized and handled correctly
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-plan.sh b/t/tap-plan.sh
index d85a3a21f..185658d7d 100755
--- a/t/tap-plan.sh
+++ b/t/tap-plan.sh
@@ -18,7 +18,6 @@
# - test scripts with the test plan at the beginning
# - test scripts with the test plan at the end
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-planskip-and-logging.sh b/t/tap-planskip-and-logging.sh
index 48b3e1238..cd646238c 100755
--- a/t/tap-planskip-and-logging.sh
+++ b/t/tap-planskip-and-logging.sh
@@ -18,7 +18,6 @@
# - interactions between "TAP plan with SKIP" and logging of earlier or
# later TAP or non-TAP text
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-planskip-badexit.sh b/t/tap-planskip-badexit.sh
index fbb3b56e6..58ce0e7f6 100755
--- a/t/tap-planskip-badexit.sh
+++ b/t/tap-planskip-badexit.sh
@@ -18,7 +18,6 @@
# - an exit status != 0 of a test script causes an hard error, even if
# the last line of output is a "SKIP plan" (e.g., "1..0 # SKIP").
-am_parallel_tests=yes
. ./defs || Exit 1
echo TESTS = one.test two.test > Makefile.am
diff --git a/t/tap-planskip-bailout.sh b/t/tap-planskip-bailout.sh
index 7fb72e9d4..351aaba7e 100755
--- a/t/tap-planskip-bailout.sh
+++ b/t/tap-planskip-bailout.sh
@@ -18,7 +18,6 @@
# - a "Bail out!" directive causes an hard error, even if coming after
# a "SKIP plan" (e.g., "1..0 # SKIP").
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-planskip-case-insensitive.sh b/t/tap-planskip-case-insensitive.sh
index b26701c53..9de6bc509 100755
--- a/t/tap-planskip-case-insensitive.sh
+++ b/t/tap-planskip-case-insensitive.sh
@@ -17,7 +17,6 @@
# TAP support:
# - "SKIP" keyword in a TAP plan is case-insensitive
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-planskip-late.sh b/t/tap-planskip-late.sh
index f89a55dcc..e0d3513f3 100755
--- a/t/tap-planskip-late.sh
+++ b/t/tap-planskip-late.sh
@@ -18,7 +18,6 @@
# - the special "plan with SKIP" can also be used "late" in the TAP
# stream, i.e., preceded by non-TAP output or TAP diagnostic.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-planskip-later-errors.sh b/t/tap-planskip-later-errors.sh
index a73dbce36..7bf3cb12c 100755
--- a/t/tap-planskip-later-errors.sh
+++ b/t/tap-planskip-later-errors.sh
@@ -17,7 +17,6 @@
# TAP support:
# - TAP errors following a "TAP plan with SKIP" are still diagnosed.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-planskip-unplanned-corner.sh b/t/tap-planskip-unplanned-corner.sh
index 6dff7ac27..ead8613e3 100755
--- a/t/tap-planskip-unplanned-corner.sh
+++ b/t/tap-planskip-unplanned-corner.sh
@@ -18,7 +18,6 @@
# - test results seen in a TAP stream that has a "plan with SKIP" are
# flagged as errors, even if all of them are "SKIP" results.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-planskip-unplanned.sh b/t/tap-planskip-unplanned.sh
index 4aeb4de81..cfb1c609f 100755
--- a/t/tap-planskip-unplanned.sh
+++ b/t/tap-planskip-unplanned.sh
@@ -19,7 +19,6 @@
# been seen is an error
# - any test result following a "plan with skip" is an error.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-planskip-whitespace.sh b/t/tap-planskip-whitespace.sh
index a4dae998b..4640ee57d 100755
--- a/t/tap-planskip-whitespace.sh
+++ b/t/tap-planskip-whitespace.sh
@@ -18,7 +18,6 @@
# - normalization of whitespace in console testsuite progress associated
# with a SKIP directive in the TAP plan
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-planskip.sh b/t/tap-planskip.sh
index 97ebd0c66..142afd7a8 100755
--- a/t/tap-planskip.sh
+++ b/t/tap-planskip.sh
@@ -17,7 +17,6 @@
# Basic TAP test protocol support:
# - special plan format to skip all the tests in a script
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-realtime.sh b/t/tap-realtime.sh
index 51f7bba93..d874b0c2c 100755
--- a/t/tap-realtime.sh
+++ b/t/tap-realtime.sh
@@ -22,7 +22,6 @@
# children, and is pretty hacky and complex; is there a better way to
# accomplish the checks done here?
-am_parallel_tests=yes
. ./defs || Exit 1
cat >expect-check <<'END'
diff --git a/t/tap-recheck-logs.sh b/t/tap-recheck-logs.sh
index 53b2370cb..7fb2b807f 100755
--- a/t/tap-recheck-logs.sh
+++ b/t/tap-recheck-logs.sh
@@ -17,7 +17,6 @@
# TAP support:
# - RECHECK_LOGS
-am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/t/tap-recheck.sh b/t/tap-recheck.sh
index 4b120a529..98a960e5b 100755
--- a/t/tap-recheck.sh
+++ b/t/tap-recheck.sh
@@ -17,7 +17,6 @@
# Test the 'recheck' target for TAP test protocol.
# Keep in sync with 'test-driver-custom-multitest-recheck.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/t/tap-result-comment.sh b/t/tap-result-comment.sh
index 7162df02a..21bc81030 100755
--- a/t/tap-result-comment.sh
+++ b/t/tap-result-comment.sh
@@ -17,7 +17,6 @@
# TAP support:
# - non-directive comments in TAP results are kept verbatim
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-signal.tap b/t/tap-signal.tap
index cf5c9454c..e23deea4c 100755
--- a/t/tap-signal.tap
+++ b/t/tap-signal.tap
@@ -17,7 +17,6 @@
# TAP support:
# - a test script terminated by a signal causes an hard error
-am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/t/tap-test-number-0.sh b/t/tap-test-number-0.sh
index cf75cef4f..8faa9c0ee 100755
--- a/t/tap-test-number-0.sh
+++ b/t/tap-test-number-0.sh
@@ -18,7 +18,6 @@
# - a test result numbered as 0 is to be considered out-of-order
# This is consistent with the behaviour of the 'prove' utility.
-am_parallel_tests=yes
. ./defs || Exit 1
if test $am_tap_implementation = perl; then
diff --git a/t/tap-todo-skip-together.sh b/t/tap-todo-skip-together.sh
index e91153238..31580ca6e 100755
--- a/t/tap-todo-skip-together.sh
+++ b/t/tap-todo-skip-together.sh
@@ -18,7 +18,6 @@
# - TODO and SKIP directives on the same line: the first one wins
# See also related test 'tap-ambiguous-directive.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-todo-skip-whitespace.sh b/t/tap-todo-skip-whitespace.sh
index 9d7afb962..d36aa1364 100755
--- a/t/tap-todo-skip-whitespace.sh
+++ b/t/tap-todo-skip-whitespace.sh
@@ -18,7 +18,6 @@
# - normalization of whitespace in console testsuite progress associated
# with TODO and SKIP directives
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-todo-skip.sh b/t/tap-todo-skip.sh
index e261d5790..62206ab38 100755
--- a/t/tap-todo-skip.sh
+++ b/t/tap-todo-skip.sh
@@ -23,7 +23,6 @@
# - the reasons for TODO and SKIP, if present, are nicely printed in
# the testsuite progress output
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-unplanned.sh b/t/tap-unplanned.sh
index 252e946c9..e8d9dad04 100755
--- a/t/tap-unplanned.sh
+++ b/t/tap-unplanned.sh
@@ -17,7 +17,6 @@
# TAP support:
# - unplanned tests are properly reported as errors
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-whitespace-normalization.sh b/t/tap-whitespace-normalization.sh
index 227467441..a43d29a1f 100755
--- a/t/tap-whitespace-normalization.sh
+++ b/t/tap-whitespace-normalization.sh
@@ -20,7 +20,6 @@
# force us to tweak dozens of other tests (hopefully).
# See also related test 'tap-todo-skip-whitespace.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/t/tap-with-and-without-number.sh b/t/tap-with-and-without-number.sh
index fc795f6f9..82889c290 100755
--- a/t/tap-with-and-without-number.sh
+++ b/t/tap-with-and-without-number.sh
@@ -19,7 +19,6 @@
# - tests without explicit number get automatically numbered in the
# testsuite progress output on console
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/tap-xfail-tests.sh b/t/tap-xfail-tests.sh
index 610779201..27c1804e4 100755
--- a/t/tap-xfail-tests.sh
+++ b/t/tap-xfail-tests.sh
@@ -17,7 +17,6 @@
# TAP and $(XFAIL_TESTS): test results without directives are turned from
# PASS to XPASS and from FAIL to XFAIL; other results are unchanged.
-am_parallel_tests=yes
. ./defs || Exit 1
. "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/t/test-driver-acsubst.sh b/t/test-driver-acsubst.sh
index 7df66ae77..e384ac792 100755
--- a/t/test-driver-acsubst.sh
+++ b/t/test-driver-acsubst.sh
@@ -17,7 +17,6 @@
# parallel-tests:
# - LOG_DRIVER variables can be AC_SUBST'd
-am_parallel_tests=yes
. ./defs || Exit 1
mkdir test-drivers
diff --git a/t/test-driver-cond.sh b/t/test-driver-cond.sh
index ac0b3f171..5538105b5 100755
--- a/t/test-driver-cond.sh
+++ b/t/test-driver-cond.sh
@@ -18,7 +18,6 @@
# - Automake can correctly handle conditionals contents for the
# LOG_DRIVER variables.
-am_parallel_tests=yes
. ./defs || Exit 1
cp "$am_testauxdir"/trivial-test-driver . \
diff --git a/t/test-driver-create-log-dir.sh b/t/test-driver-create-log-dir.sh
index bfca0b938..dc8e6811f 100755
--- a/t/test-driver-create-log-dir.sh
+++ b/t/test-driver-create-log-dir.sh
@@ -18,7 +18,6 @@
# e.g., 'sub/foo.log'), the Automake test harness must ensure that
# directory exists before calling any custom test driver.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/test-driver-custom-multitest-recheck.sh b/t/test-driver-custom-multitest-recheck.sh
index 9b4f5dfa3..a42e0d098 100755
--- a/t/test-driver-custom-multitest-recheck.sh
+++ b/t/test-driver-custom-multitest-recheck.sh
@@ -22,7 +22,6 @@
# and 'parallel-tests-recheck-override.test'.
# Keep in sync with 'tap-recheck.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cp "$am_testauxdir"/trivial-test-driver . \
diff --git a/t/test-driver-custom-multitest-recheck2.sh b/t/test-driver-custom-multitest-recheck2.sh
index 3e7add6d4..5ceb3393a 100755
--- a/t/test-driver-custom-multitest-recheck2.sh
+++ b/t/test-driver-custom-multitest-recheck2.sh
@@ -21,7 +21,6 @@
# See also related tests 'test-driver-custom-multitest-recheck.test' and
# 'parallel-tests-recheck-override.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cp "$am_testauxdir"/trivial-test-driver . \
diff --git a/t/test-driver-custom-multitest.sh b/t/test-driver-custom-multitest.sh
index c7959cd42..c660ec276 100755
--- a/t/test-driver-custom-multitest.sh
+++ b/t/test-driver-custom-multitest.sh
@@ -19,7 +19,6 @@
# only checks implementation details in Automake's custom test drivers
# support, but also serves as a "usability test" for our APIs.
-am_parallel_tests=yes
. ./defs || Exit 1
cp "$am_testauxdir"/trivial-test-driver . \
diff --git a/t/test-driver-custom-no-extra-driver.sh b/t/test-driver-custom-no-extra-driver.sh
index 31000aff1..4d7367d2a 100755
--- a/t/test-driver-custom-no-extra-driver.sh
+++ b/t/test-driver-custom-no-extra-driver.sh
@@ -18,7 +18,6 @@
# installed or referenced if it's not used, i.e., if the user has
# defined his own '*LOG_DRIVER' variables.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<'END'
diff --git a/t/test-driver-custom-xfail-tests.sh b/t/test-driver-custom-xfail-tests.sh
index 9a4e3fec5..14568c096 100755
--- a/t/test-driver-custom-xfail-tests.sh
+++ b/t/test-driver-custom-xfail-tests.sh
@@ -16,7 +16,6 @@
# Custom test drivers: "abstract" XFAIL_TESTS support.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<'END'
diff --git a/t/test-driver-custom.sh b/t/test-driver-custom.sh
index 60ce07418..ce4a7fcdf 100755
--- a/t/test-driver-custom.sh
+++ b/t/test-driver-custom.sh
@@ -16,7 +16,6 @@
# Custom test drivers: per-extension test drivers.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/test-driver-fail.sh b/t/test-driver-fail.sh
index 0eb226800..75f6a87f4 100755
--- a/t/test-driver-fail.sh
+++ b/t/test-driver-fail.sh
@@ -22,7 +22,6 @@
# (like our dummy one in this test) might leave around a test log even
# in case of internal failures.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<'END'
diff --git a/t/test-driver-is-distributed.sh b/t/test-driver-is-distributed.sh
index fb4e540af..9b2f08bba 100755
--- a/t/test-driver-is-distributed.sh
+++ b/t/test-driver-is-distributed.sh
@@ -19,7 +19,6 @@
# defined in a subdir Makefile
am_create_testdir=empty
-am_parallel_tests=yes
. ./defs || Exit 1
ocwd=`pwd` || fatal_ "getting current working directory"
diff --git a/t/test-driver-strip-vpath.sh b/t/test-driver-strip-vpath.sh
index 967018854..0f51c3e76 100755
--- a/t/test-driver-strip-vpath.sh
+++ b/t/test-driver-strip-vpath.sh
@@ -17,7 +17,6 @@
# Custom test drivers: check that the test name passed to the test
# driver has any VPATH prefix stripped.
-am_parallel_tests=yes
. ./defs || Exit 1
ocwd=`pwd` || fatal_ "cannot get current working directory"
diff --git a/t/test-driver-trs-suffix-registered.sh b/t/test-driver-trs-suffix-registered.sh
index 0c3734f88..801300bd7 100755
--- a/t/test-driver-trs-suffix-registered.sh
+++ b/t/test-driver-trs-suffix-registered.sh
@@ -20,7 +20,6 @@
# - .test if $(TEST_EXTENSIONS) is not defined
# - stuff in $(TEST_EXTENSIONS) otherwise
-am_parallel_tests=yes
. ./defs || Exit 1
: > Makefile.am
diff --git a/t/test-extensions-cond.sh b/t/test-extensions-cond.sh
index 81808033a..e081d797b 100755
--- a/t/test-extensions-cond.sh
+++ b/t/test-extensions-cond.sh
@@ -16,7 +16,6 @@
# Expose bug in conditional definition of TEST_EXTENSIONS.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/test-extensions.sh b/t/test-extensions.sh
index d2fc2dd06..fa23481ca 100755
--- a/t/test-extensions.sh
+++ b/t/test-extensions.sh
@@ -18,7 +18,6 @@
# and do not diagnose valid (albeit more unusual) ones.
# See automake bug#9400.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<'END'
diff --git a/t/test-harness-vpath-rewrite.sh b/t/test-harness-vpath-rewrite.sh
index f0f71c66f..0058b6dc7 100755
--- a/t/test-harness-vpath-rewrite.sh
+++ b/t/test-harness-vpath-rewrite.sh
@@ -17,7 +17,6 @@
# Check that our concurrent test harness is not subject to spurious VPATH
# rewrites.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/test-log.sh b/t/test-log.sh
index d400b52bc..0e6065db2 100755
--- a/t/test-log.sh
+++ b/t/test-log.sh
@@ -22,7 +22,6 @@
# - VERBOSE environment variable support
# Keep in sync with 'tap-log.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<END
diff --git a/t/test-logs-repeated.sh b/t/test-logs-repeated.sh
index d75bbcb15..30aefca67 100755
--- a/t/test-logs-repeated.sh
+++ b/t/test-logs-repeated.sh
@@ -20,7 +20,6 @@
# different test scripts don't end up sharing the same log file.
# (Automake itself is such a project, BTW ;-)
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<END
diff --git a/t/test-metadata-global-log.sh b/t/test-metadata-global-log.sh
index b10f481d2..af435ae3c 100755
--- a/t/test-metadata-global-log.sh
+++ b/t/test-metadata-global-log.sh
@@ -20,7 +20,6 @@
# with the use of the reStructuredText field ':copy-in-global-log:' in
# the associated '.trs' files.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/test-metadata-global-result.sh b/t/test-metadata-global-result.sh
index b2474449c..4aa633f3a 100755
--- a/t/test-metadata-global-result.sh
+++ b/t/test-metadata-global-result.sh
@@ -18,7 +18,6 @@
# "global test result" in '*.trs' files, as documented in the automake
# manual.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/test-metadata-recheck.sh b/t/test-metadata-recheck.sh
index 0a7a7ccb4..88747458c 100755
--- a/t/test-metadata-recheck.sh
+++ b/t/test-metadata-recheck.sh
@@ -17,7 +17,6 @@
# Test the "make recheck" semantics for custom test drivers, as documented
# in the Automake manual.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/test-metadata-results.sh b/t/test-metadata-results.sh
index 5978f7f25..03f93d78e 100755
--- a/t/test-metadata-results.sh
+++ b/t/test-metadata-results.sh
@@ -17,7 +17,6 @@
# Parallel testsuite harness: check APIs for the registering of test
# results in '*.trs' files, as documented in the automake manual.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/test-missing.sh b/t/test-missing.sh
index 586190fb2..2491da5b3 100755
--- a/t/test-missing.sh
+++ b/t/test-missing.sh
@@ -18,7 +18,6 @@
# - non-existent scripts listed in TESTS get diagnosed
# See also related test 'test-missing2.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/test-missing2.sh b/t/test-missing2.sh
index e511a8b4e..6dd4b9d72 100755
--- a/t/test-missing2.sh
+++ b/t/test-missing2.sh
@@ -19,7 +19,6 @@
# all the $(TEST_LOGS) have a dummy dependency.
# See also related test 'test-missing.test'.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/test-trs-basic.sh b/t/test-trs-basic.sh
index a82d260bd..42456b407 100755
--- a/t/test-trs-basic.sh
+++ b/t/test-trs-basic.sh
@@ -18,7 +18,6 @@
# - creation and removal of '.trs' auxiliary files
# - check some internals regarding the use of '.trs' files.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<END
diff --git a/t/test-trs-recover.sh b/t/test-trs-recover.sh
index 3632f61f7..a1321944d 100755
--- a/t/test-trs-recover.sh
+++ b/t/test-trs-recover.sh
@@ -19,7 +19,6 @@
# This test is complex and tricky, but that's acceptable since we are
# testing semantics that are potentially complex and tricky.
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<END
diff --git a/t/test-trs-recover2.sh b/t/test-trs-recover2.sh
index a154ce709..3cbbbf6b9 100755
--- a/t/test-trs-recover2.sh
+++ b/t/test-trs-recover2.sh
@@ -17,7 +17,6 @@
# Check parallel harness features:
# - recovery from unreadable '.trs' files, in various scenarios
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<END
diff --git a/t/tests-environment-and-log-compiler.sh b/t/tests-environment-and-log-compiler.sh
index 0e9d6e737..65855ce8a 100755
--- a/t/tests-environment-and-log-compiler.sh
+++ b/t/tests-environment-and-log-compiler.sh
@@ -18,7 +18,6 @@
# by TESTS_ENVIRONMENT and AM_TESTS_ENVIRONMENT in LOG_COMPILER and
# LOG_FLAGS (for tests both with and without registered extensions).
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/tests-environment-backcompat.sh b/t/tests-environment-backcompat.sh
index 61b2728cf..93643d11d 100755
--- a/t/tests-environment-backcompat.sh
+++ b/t/tests-environment-backcompat.sh
@@ -19,7 +19,7 @@
# be run by (with the parallel-tests driver one should use LOG_COMPILER
# for this). The behaviour tested here is also documented in the manual.
-am_parallel_tests=no
+am_serial_tests=yes
. ./defs || Exit 1
cat >> configure.ac <<END
diff --git a/t/tests-environment-fd-redirect.sh b/t/tests-environment-fd-redirect.sh
index d62e537d6..6c42fd4ea 100755
--- a/t/tests-environment-fd-redirect.sh
+++ b/t/tests-environment-fd-redirect.sh
@@ -26,7 +26,6 @@
# and the following CC:ed thread on bug-autoconf list:
# <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00002.html>
-am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/tests-environment.sh b/t/tests-environment.sh
index 27cd458f2..62ca4ee9c 100755
--- a/t/tests-environment.sh
+++ b/t/tests-environment.sh
@@ -16,6 +16,7 @@
# "Simple Tests" testsuite driver: check TESTS_ENVIRONMENT support.
+am_serial_tests=yes
. ./defs || Exit 1
cat >> configure.ac << 'END'
diff --git a/t/testsuite-recheck-speed.sh b/t/testsuite-recheck-speed.sh
index 9b37262c8..50cc03ba2 100755
--- a/t/testsuite-recheck-speed.sh
+++ b/t/testsuite-recheck-speed.sh
@@ -19,7 +19,6 @@
# FIXME: performance is too low, and FAIL accordingly; it just offers an
# FIXME: easy way to verify how effective a performance optimization is.
-am_parallel_tests=yes
. ./defs || Exit 1
count=5000
diff --git a/t/testsuite-summary-count-many.sh b/t/testsuite-summary-count-many.sh
index ff38097e4..b101206bb 100755
--- a/t/testsuite-summary-count-many.sh
+++ b/t/testsuite-summary-count-many.sh
@@ -19,7 +19,6 @@
# Incidentally, this test also checks that the testsuite summary doesn't
# give any bug-report address if it's not defined.
-am_parallel_tests=yes
. ./defs || Exit 1
for s in trivial-test-driver extract-testsuite-summary.pl; do
diff --git a/t/testsuite-summary-reference-log.sh b/t/testsuite-summary-reference-log.sh
index 480ec12d6..1958dd494 100755
--- a/t/testsuite-summary-reference-log.sh
+++ b/t/testsuite-summary-reference-log.sh
@@ -17,7 +17,6 @@
# Check that the global testsuite log file referenced in the testsuite
# summary and in the global testsuite log itself is correct.
-am_parallel_tests=yes
. ./defs || Exit 1
mv configure.ac configure.stub
diff --git a/t/testsuite-summary-speed.sh b/t/testsuite-summary-speed.sh
index 4d18c61e4..a11bb8ef7 100755
--- a/t/testsuite-summary-speed.sh
+++ b/t/testsuite-summary-speed.sh
@@ -20,7 +20,6 @@
# FIXME: performance is too low, and FAIL accordingly; it just offers
# FIXME: an easy way verify how effective a performance optimization is.
-am_parallel_tests=yes
. ./defs || Exit 1
count=10000