[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {testsuite-work} tests defs: more namespace-safeness
From: |
Stefano Lattarini |
Subject: |
[FYI] {testsuite-work} tests defs: more namespace-safeness |
Date: |
Sat, 10 Sep 2011 23:27:09 +0200 |
($using_tap): Renamed ...
($am_using_tap): ... to this.
($parallel_tests): Renamed ...
($am_parallel_tests): ... to this.
($test_prefer_config_shell): Renamed ...
($am_test_prefer_config_shell): ... to this.
($original_AUTOMAKE): Renamed ...
($am_original_AUTOMAKE): ... to this.
($original_ACLOCAL): Renamed ...
($am_original_ACLOCAL): ... to this.
* tests/defs, tests/defs-static.in, tests/gen-testsuite-part,
tests/README, and all callers: Adjusted.
* tests/Makefile.am (AM_TESTS_ENVIRONMENT): Adjust, and rewrite
to make future adjustments easier.
* tests/defs (funcs_file_): Renamed ...
(am_funcs_file): ... to this.
* Makefile.am (sc_tests_obsolete_variables): New maintainer
check.
(syntax_check_rules): Add it.
---
ChangeLog | 23 +++++++++++++++
Makefile.am | 29 ++++++++++++++++++
Makefile.in | 28 ++++++++++++++++++
tests/Makefile.am | 18 +++++++----
tests/Makefile.in | 11 ++----
tests/README | 4 +-
tests/am-tests-environment.test | 2 +-
tests/amopts-variable-expansion.test | 2 +-
tests/backcompat5.test | 2 +-
tests/check-concurrency-bug9245.test | 2 +-
tests/check-exported-srcdir.test | 2 +-
tests/check-fd-redirect.test | 2 +-
tests/check-no-test-driver.test | 2 +-
tests/check-subst.test | 6 ++--
tests/check-tests-in-builddir.test | 4 +-
tests/check.test | 2 +-
tests/check10.test | 2 +-
tests/check11.test | 4 +-
tests/check12.test | 6 ++--
tests/check2.test | 2 +-
tests/color.test | 2 +-
tests/color2.test | 2 +-
tests/cygnus-imply-foreign.test | 2 +-
tests/defs | 34 +++++++++++-----------
tests/defs-static.in | 32 ++++++++++----------
tests/dejagnu.test | 2 +-
tests/gen-testsuite-part | 14 ++++----
tests/gnuwarn.test | 2 +-
tests/help.test | 4 +-
tests/help2.test | 4 +-
tests/help3.test | 4 +-
tests/help4.test | 4 +-
tests/parallel-tests-cmdline-override.test | 2 +-
tests/parallel-tests-console-output.test | 2 +-
tests/parallel-tests-driver-install.test | 2 +-
tests/parallel-tests-dry-run.test | 2 +-
tests/parallel-tests-empty-testlogs.test | 2 +-
tests/parallel-tests-exit-statuses.test | 2 +-
tests/parallel-tests-extra-programs.test | 2 +-
tests/parallel-tests-fd-redirect.test | 2 +-
tests/parallel-tests-fork-bomb.test | 2 +-
tests/parallel-tests-harderror.test | 2 +-
tests/parallel-tests-interrupt.tap | 2 +-
tests/parallel-tests-log-compiler-1.test | 2 +-
tests/parallel-tests-log-compiler-2.test | 2 +-
tests/parallel-tests-log-compiler-example.test | 2 +-
tests/parallel-tests-log-override-1.test | 2 +-
tests/parallel-tests-log-override-2.test | 2 +-
tests/parallel-tests-log-override-recheck.test | 2 +-
tests/parallel-tests-no-color-in-log.test | 2 +-
tests/parallel-tests-no-spurious-summary.test | 2 +-
tests/parallel-tests-once.test | 2 +-
tests/parallel-tests-reset-term.test | 2 +-
tests/parallel-tests-subdir.test | 2 +-
tests/parallel-tests-suffix-prog.test | 2 +-
tests/parallel-tests-suffix.test | 2 +-
tests/parallel-tests-unreadable.test | 2 +-
tests/parallel-tests.test | 2 +-
tests/parallel-tests10.test | 2 +-
tests/parallel-tests2.test | 2 +-
tests/parallel-tests3.test | 2 +-
tests/parallel-tests5.test | 2 +-
tests/parallel-tests6.test | 2 +-
tests/parallel-tests8.test | 2 +-
tests/parallel-tests9.test | 2 +-
tests/pr401.test | 2 +-
tests/pr401b.test | 2 +-
tests/pr401c.test | 2 +-
tests/self-check-env-sanitize.tap | 10 +++---
tests/self-check-tap.test | 27 +++++++++++------
tests/strictness-override.test | 2 +-
tests/strictness-precedence.test | 2 +-
tests/tap-ambiguous-directive.test | 2 +-
tests/tap-autonumber.test | 2 +-
tests/tap-bad-prog.tap | 2 +-
tests/tap-bailout-and-logging.test | 2 +-
tests/tap-bailout-suppress-badexit.test | 2 +-
tests/tap-bailout-suppress-later-diagnostic.test | 2 +-
tests/tap-bailout-suppress-later-errors.test | 2 +-
tests/tap-bailout.test | 2 +-
tests/tap-basic.test | 2 +-
tests/tap-color.test | 2 +-
tests/tap-common-setup.test | 2 +-
tests/tap-deps.test | 2 +-
tests/tap-diagnostic-custom.test | 2 +-
tests/tap-diagnostic.test | 2 +-
tests/tap-doc.test | 2 +-
tests/tap-doc2.test | 2 +-
tests/tap-driver-stderr.test | 2 +-
tests/tap-empty-diagnostic.test | 2 +-
tests/tap-empty.test | 2 +-
tests/tap-escape-directive-2.test | 2 +-
tests/tap-escape-directive.test | 2 +-
tests/tap-exit.test | 2 +-
tests/tap-fancy.test | 2 +-
tests/tap-fancy2.test | 2 +-
tests/tap-global-log.test | 2 +-
tests/tap-global-result.test | 2 +-
tests/tap-html.test | 2 +-
tests/tap-log.test | 2 +-
tests/tap-merge-stdout-stderr.test | 2 +-
tests/tap-missing-plan-and-bad-exit.test | 2 +-
tests/tap-more.test | 2 +-
tests/tap-more2.test | 2 +-
tests/tap-msg0-bailout.test | 2 +-
tests/tap-msg0-directive.test | 2 +-
tests/tap-msg0-misc.test | 2 +-
tests/tap-msg0-planskip.test | 2 +-
tests/tap-msg0-result.test | 2 +-
tests/tap-negative-numbers.test | 2 +-
tests/tap-no-disable-hard-error.test | 2 +-
tests/tap-no-merge-stdout-stderr.test | 2 +-
tests/tap-no-spurious-numbers.test | 2 +-
tests/tap-no-spurious-summary.test | 2 +-
tests/tap-no-spurious.test | 2 +-
tests/tap-not-ok-skip.test | 2 +-
tests/tap-number-wordboundary.test | 2 +-
tests/tap-numbers-leading-zero.test | 2 +-
tests/tap-numeric-description.test | 2 +-
tests/tap-out-of-order.test | 2 +-
tests/tap-passthrough-exit.test | 2 +-
tests/tap-passthrough.test | 2 +-
tests/tap-plan-corner.test | 2 +-
tests/tap-plan-errors.test | 2 +-
tests/tap-plan-leading-zero.test | 2 +-
tests/tap-plan-malformed.test | 2 +-
tests/tap-plan-middle.test | 2 +-
tests/tap-plan-whitespace.test | 2 +-
tests/tap-plan.test | 2 +-
tests/tap-planskip-and-logging.test | 2 +-
tests/tap-planskip-badexit.test | 2 +-
tests/tap-planskip-bailout.test | 2 +-
tests/tap-planskip-case-insensitive.test | 2 +-
tests/tap-planskip-late.test | 2 +-
tests/tap-planskip-later-errors.test | 2 +-
tests/tap-planskip-unplanned-corner.test | 2 +-
tests/tap-planskip-unplanned.test | 2 +-
tests/tap-planskip-whitespace.test | 2 +-
tests/tap-planskip.test | 2 +-
tests/tap-realtime.test | 2 +-
tests/tap-recheck-logs.test | 2 +-
tests/tap-recheck.test | 2 +-
tests/tap-result-comment.test | 2 +-
tests/tap-signal.tap | 2 +-
tests/tap-summary-aux.sh | 2 +-
tests/tap-test-number-0.test | 2 +-
tests/tap-todo-skip-together.test | 2 +-
tests/tap-todo-skip-whitespace.test | 2 +-
tests/tap-todo-skip.test | 2 +-
tests/tap-unplanned.test | 2 +-
tests/tap-whitespace-normalization.test | 2 +-
tests/tap-with-and-without-number.test | 2 +-
tests/tap-xfail-tests.test | 2 +-
tests/test-driver-create-log-dir.test | 2 +-
tests/test-driver-custom-html.test | 2 +-
tests/test-driver-custom-multitest-recheck.test | 2 +-
tests/test-driver-custom-multitest-recheck2.test | 2 +-
tests/test-driver-custom-multitest.test | 2 +-
tests/test-driver-custom-no-extra-driver.test | 2 +-
tests/test-driver-custom-no-html.test | 2 +-
tests/test-driver-custom-xfail-tests.test | 2 +-
tests/test-driver-custom.test | 2 +-
tests/test-driver-fail.test | 2 +-
tests/test-driver-strip-vpath.test | 2 +-
tests/test-driver-trs-suffix-registered.test | 2 +-
tests/test-harness-vpath-rewrite.test | 2 +-
tests/test-log.test | 2 +-
tests/test-logs-repeated.test | 2 +-
tests/test-metadata-global-log.test | 2 +-
tests/test-metadata-global-result.test | 2 +-
tests/test-metadata-recheck.test | 2 +-
tests/test-metadata-results.test | 2 +-
tests/test-missing.test | 2 +-
tests/test-missing2.test | 2 +-
tests/test-trs-basic.test | 2 +-
tests/test-trs-recover.test | 2 +-
tests/test-trs-recover2.test | 2 +-
tests/tests-environment-and-log-compiler.test | 2 +-
tests/tests-environment-backcompat.test | 2 +-
tests/tests-environment-fd-redirect.test | 2 +-
tests/testsuite-summary-checks.sh | 2 +-
tests/testsuite-summary-count-many.test | 2 +-
tests/testsuite-summary-reference-log.test | 2 +-
tests/warning-groups-win-over-strictness.test | 2 +-
tests/warnings-override.test | 2 +-
tests/warnings-precedence.test | 2 +-
tests/warnings-strictness-interactions.test | 2 +-
tests/warnings-unknown.test | 2 +-
tests/warnings-win-over-strictness.test | 2 +-
189 files changed, 348 insertions(+), 258 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c61f044..43b2a6e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,28 @@
2011-09-10 Stefano Lattarini <address@hidden>
+ tests defs: more namespace-safeness
+ ($using_tap): Renamed ...
+ ($am_using_tap): ... to this.
+ ($parallel_tests): Renamed ...
+ ($am_parallel_tests): ... to this.
+ ($test_prefer_config_shell): Renamed ...
+ ($am_test_prefer_config_shell): ... to this.
+ ($original_AUTOMAKE): Renamed ...
+ ($am_original_AUTOMAKE): ... to this.
+ ($original_ACLOCAL): Renamed ...
+ ($am_original_ACLOCAL): ... to this.
+ * tests/defs, tests/defs-static.in, tests/gen-testsuite-part,
+ tests/README, and all callers: Adjusted.
+ * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Adjust, and rewrite
+ to make future adjustments easier.
+ * tests/defs (funcs_file_): Renamed ...
+ (am_funcs_file): ... to this.
+ * Makefile.am (sc_tests_obsolete_variables): New maintainer
+ check.
+ (syntax_check_rules): Add it.
+
+2011-09-10 Stefano Lattarini <address@hidden>
+
tests: avoid creating useless files in some test directories
* tests/aclocal.test: Define `$am_create_testdir' to "empty"
before sourcing ./defs, to avoid bringing in unused auxiliary
diff --git a/Makefile.am b/Makefile.am
index 6c8eff4..cb6ecf5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -189,6 +189,7 @@ sc_perl_local_no_parens \
sc_perl_local \
sc_AMDEP_TRUE_in_automake_in \
sc_tests_make_without_am_makeflags \
+sc_tests_obsolete_variables \
sc_tests_plain_make \
sc_tests_plain_autoconf \
sc_tests_plain_autoupdate \
@@ -437,6 +438,34 @@ sc_tests_make_without_am_makeflags:
exit 1; \
fi
+## Look out for some obsolete variables.
+sc_tests_obsolete_variables:
+ @vars=" \
+ using_tap \
+ parallel_tests \
+ test_prefer_config_shell \
+ original_AUTOMAKE \
+ original_ACLOCAL \
+ "; \
+ seen=""; \
+ for v in $$vars; do \
+ if grep -E "\b$$v\b" \
+ $(srcdir)/tests/*.test \
+ $(srcdir)/tests/*.tap \
+ $(srcdir)/tests/*.sh \
+ $(srcdir)/tests/defs \
+ $(srcdir)/tests/defs-static.in \
+ ; then \
+ seen="$$seen $$v"; \
+ fi; \
+ done; \
+ if test -n "$$seen"; then \
+ for v in $$seen; do \
+ echo "Variable '$$v' is obsolete, use 'am_$$v' instead." 1>&2; \
+ done; \
+ exit 1; \
+ else :; fi
+
## Tests should never call make directly.
sc_tests_plain_make:
@if grep -v '^#' $(srcdir)/tests/*.test | $(EGREP) ':[ ]*make( |$$)';
then \
diff --git a/Makefile.in b/Makefile.in
index 07f9808..a1a321a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -318,6 +318,7 @@ sc_perl_local_no_parens \
sc_perl_local \
sc_AMDEP_TRUE_in_automake_in \
sc_tests_make_without_am_makeflags \
+sc_tests_obsolete_variables \
sc_tests_plain_make \
sc_tests_plain_autoconf \
sc_tests_plain_autoupdate \
@@ -1193,6 +1194,33 @@ sc_tests_make_without_am_makeflags:
exit 1; \
fi
+sc_tests_obsolete_variables:
+ @vars=" \
+ using_tap \
+ parallel_tests \
+ test_prefer_config_shell \
+ original_AUTOMAKE \
+ original_ACLOCAL \
+ "; \
+ seen=""; \
+ for v in $$vars; do \
+ if grep -E "\b$$v\b" \
+ $(srcdir)/tests/*.test \
+ $(srcdir)/tests/*.tap \
+ $(srcdir)/tests/*.sh \
+ $(srcdir)/tests/defs \
+ $(srcdir)/tests/defs-static.in \
+ ; then \
+ seen="$$seen $$v"; \
+ fi; \
+ done; \
+ if test -n "$$seen"; then \
+ for v in $$seen; do \
+ echo "Variable '$$v' is obsolete, use 'am_$$v' instead." 1>&2; \
+ done; \
+ exit 1; \
+ else :; fi
+
sc_tests_plain_make:
@if grep -v '^#' $(srcdir)/tests/*.test | $(EGREP) ':[ ]*make( |$$)';
then \
echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.'
1>&2; \
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 51edc2f..01c3259 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -53,13 +53,17 @@ txinfo5.test
# Some testsuite-influential variables should be overridable from the
# test scripts, but not from the environment.
AM_TESTS_ENVIRONMENT = \
- test x"$$me" = x || unset me; \
- test x"$$required" = x || unset required; \
- test x"$$using_tap" = x || unset using_tap; \
- test x"$$parallel_tests" = x || unset parallel_tests; \
- test x"$$test_prefer_config_shell" || unset test_prefer_config_shell; \
- test x"$$original_AUTOMAKE" = x || unset original_AUTOMAKE; \
- test x"$$original_ACLOCAL" = x || unset original_ACLOCAL;
+ for v in \
+ me \
+ required \
+ am_using_tap \
+ am_parallel_tests \
+ am_test_prefer_config_shell \
+ am_original_AUTOMAKE \
+ am_original_ACLOCAL \
+ ; do \
+ eval test x"\$${$$v}" = x || unset $$v; \
+ done;
# The `AM_TESTS_REEXEC=no' setting tells the tests not to needlessly
# re-execute themselves with the shell detected at configure time, since
# we are already running them under it explicitly in our setup (see e.g.
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 5ae15b1..c3bad88 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -323,13 +323,10 @@ txinfo5.test
# re-execute themselves with the shell detected at configure time, since
# we are already running them under it explicitly in our setup (see e.g.
# the definition of TEST_LOG_COMPILER above).
-AM_TESTS_ENVIRONMENT = test x"$$me" = x || unset me; test \
- x"$$required" = x || unset required; test x"$$using_tap" = x \
- || unset using_tap; test x"$$parallel_tests" = x || unset \
- parallel_tests; test x"$$test_prefer_config_shell" || unset \
- test_prefer_config_shell; test x"$$original_AUTOMAKE" = x || \
- unset original_AUTOMAKE; test x"$$original_ACLOCAL" = x || \
- unset original_ACLOCAL; AM_TESTS_REEXEC=no; export \
+AM_TESTS_ENVIRONMENT = for v in me required am_using_tap \
+ am_parallel_tests am_test_prefer_config_shell \
+ am_original_AUTOMAKE am_original_ACLOCAL ; do eval test \
+ x"\$${$$v}" = x || unset $$v; done; AM_TESTS_REEXEC=no; export \
AM_TESTS_REEXEC; stderr_fileno_=9; export stderr_fileno_;
# We want warning messages and explanations for skipped tests to go to
# the console if possible, so set up `stderr_fileno_' properly.
diff --git a/tests/README b/tests/README
index b6dd45c..980299d 100644
--- a/tests/README
+++ b/tests/README
@@ -184,9 +184,9 @@ Do
instead.
For tests that use the `parallel-tests' Automake option, set the shell
- variable `parallel_tests' to "yes" before including ./defs. For tests
+ 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 `parallel_tests'
+ (these should be very very few), set the shell variable `am_parallel_tests'
to "no" before including ./defs.
Some tests in the Automake testsuite are auto-generated; those tests
diff --git a/tests/am-tests-environment.test b/tests/am-tests-environment.test
index 8ad7481..524d8d2 100755
--- a/tests/am-tests-environment.test
+++ b/tests/am-tests-environment.test
@@ -17,7 +17,7 @@
# parallel-tests: check AM_TESTS_ENVIRONMENT support, and its
# interactions with TESTS_ENVIRONMENT.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/amopts-variable-expansion.test
b/tests/amopts-variable-expansion.test
index 57512cc..05fe6c8 100755
--- a/tests/amopts-variable-expansion.test
+++ b/tests/amopts-variable-expansion.test
@@ -19,7 +19,7 @@
. ./defs || Exit 1
# We want complete control over automake options.
-AUTOMAKE=$original_AUTOMAKE
+AUTOMAKE=$am_original_AUTOMAKE
cat > configure.in <<END
AC_INIT([$me], [1.0])
diff --git a/tests/backcompat5.test b/tests/backcompat5.test
index bfa45b2..0e57db4 100755
--- a/tests/backcompat5.test
+++ b/tests/backcompat5.test
@@ -19,7 +19,7 @@
# This script can also serve as mild stress-testing for Automake.
# See also the similar test `backcompat6.test'.
-parallel_tests=no
+am_parallel_tests=no
. ./defs || Exit 1
# Yuck!
diff --git a/tests/check-concurrency-bug9245.test
b/tests/check-concurrency-bug9245.test
index e5dd153..966b7a6 100755
--- a/tests/check-concurrency-bug9245.test
+++ b/tests/check-concurrency-bug9245.test
@@ -48,7 +48,7 @@ $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"$parallel_tests" = x"yes"; then
+ 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
diff --git a/tests/check-exported-srcdir.test b/tests/check-exported-srcdir.test
index 6d17320..7088de4 100755
--- a/tests/check-exported-srcdir.test
+++ b/tests/check-exported-srcdir.test
@@ -22,7 +22,7 @@
show_info ()
{
- if test x"$parallel_tests" = x"yes"; then
+ if test x"$am_parallel_tests" = x"yes"; then
cat foo.log
cat test-suite.log
else
diff --git a/tests/check-fd-redirect.test b/tests/check-fd-redirect.test
index 6da8704..fb952b4 100755
--- a/tests/check-fd-redirect.test
+++ b/tests/check-fd-redirect.test
@@ -50,7 +50,7 @@ do_check ()
cat stdout
cat stderr >&2
cat four
- test x"$parallel_tests" != x"yes" || cat foo.log
+ test x"$am_parallel_tests" != x"yes" || cat foo.log
test $st -eq 0
grep '[ /]foo\.test: foofoofoo$' stdout
grep '[ /]foo\.test: barbarbar$' stderr
diff --git a/tests/check-no-test-driver.test b/tests/check-no-test-driver.test
index fc1e89b..9406917 100755
--- a/tests/check-no-test-driver.test
+++ b/tests/check-no-test-driver.test
@@ -18,7 +18,7 @@
# installed or referenced when the 'parallel-tests' option is not
# used.
-parallel_tests=no
+am_parallel_tests=no
. ./defs || Exit 1
echo 'TESTS = foo.test' > Makefile.am
diff --git a/tests/check-subst.test b/tests/check-subst.test
index 63ed689..9e31b9a 100755
--- a/tests/check-subst.test
+++ b/tests/check-subst.test
@@ -32,7 +32,7 @@ TESTS = pass-script.test xfail-script.test @script_tests@
XFAIL_TESTS = @xfail_tests@
END
-if test "$parallel_tests" = yes; then
+if test "$am_parallel_tests" = yes; then
unindent >> Makefile.am <<'END'
TEST_EXTENSIONS = .sh .test
SH_LOG_COMPILER = $(SHELL)
@@ -51,7 +51,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 "$parallel_tests" != yes; then
+if test "$am_parallel_tests" != yes; then
chmod a+x subst-pass-script.sh subst-xfail-script.sh
fi
@@ -72,7 +72,7 @@ for vpath in false : ; do
$srcdir/configure
$MAKE all
$MAKE check
- if test "$parallel_tests" = yes; then
+ if test "$am_parallel_tests" = yes; then
ls -l
test -f pass-script.log
test -f xfail-script.log
diff --git a/tests/check-tests-in-builddir.test
b/tests/check-tests-in-builddir.test
index 9182ac2..2cf6f0b 100755
--- a/tests/check-tests-in-builddir.test
+++ b/tests/check-tests-in-builddir.test
@@ -55,7 +55,7 @@ $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"$parallel_tests" = x"yes"; then
+if test x"$am_parallel_tests" = x"yes"; then
grep '\.\./foo' out && Exit 1
grep '^PASS: foo.test *$' out
else
@@ -68,7 +68,7 @@ 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"$parallel_tests" = x"yes"; then
+if test x"$am_parallel_tests" = x"yes"; then
grep '\.\./foo' out && Exit 1
grep '^FAIL: foo.test *$' out
else
diff --git a/tests/check.test b/tests/check.test
index f18bb0a..fc81903 100755
--- a/tests/check.test
+++ b/tests/check.test
@@ -22,7 +22,7 @@ cat > Makefile.am << 'END'
TESTS = frob.test
END
-test x"$parallel_tests" != x"yes" || : > test-driver
+test x"$am_parallel_tests" != x"yes" || : > test-driver
: > frob.test
diff --git a/tests/check10.test b/tests/check10.test
index 37f9d08..54f882a 100755
--- a/tests/check10.test
+++ b/tests/check10.test
@@ -17,7 +17,7 @@
# Check singular and plural in test summaries.
# This test only makes sense for the older serial testsuite driver.
-parallel_tests=no
+am_parallel_tests=no
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/check11.test b/tests/check11.test
index bd6be34..f419bfd 100755
--- a/tests/check11.test
+++ b/tests/check11.test
@@ -41,7 +41,7 @@ $AUTOMAKE -a
env TESTS=skip $MAKE -e check >stdout || { cat stdout; Exit 1; }
cat stdout
-if test x"$parallel_tests" = x"yes"; then
+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
grep '1.*passed' stdout && Exit 1
@@ -50,7 +50,7 @@ fi
env TESTS="skip skip2" $MAKE -e check >stdout || { cat stdout; Exit 1; }
cat stdout
-if test x"$parallel_tests" = x"yes"; then
+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
grep '2.*passed' stdout && Exit 1
diff --git a/tests/check12.test b/tests/check12.test
index e36a94d..be4d84e 100755
--- a/tests/check12.test
+++ b/tests/check12.test
@@ -136,7 +136,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"$parallel_tests" = x"yes"; then
+ if test x"$am_parallel_tests" = x"yes"; then
test -f test-suite.log
test -f a.log
test -f b.log
@@ -170,7 +170,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"$parallel_tests" = x"yes"; then
+ if test x"$am_parallel_tests" = x"yes"; then
cat test-suite.log
cat a.log
cat b.log
@@ -193,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"$parallel_tests" = x"yes"; then
+ if test x"$am_parallel_tests" = x"yes"; then
cat test-suite.log
cat a.log
cat b.log
diff --git a/tests/check2.test b/tests/check2.test
index 0424bf8..ec6132d 100755
--- a/tests/check2.test
+++ b/tests/check2.test
@@ -43,7 +43,7 @@ echo.sh:
CLEANFILES = echo.sh
END
-if test x"$parallel_tests" = x"yes"; then
+if test x"$am_parallel_tests" = x"yes"; then
cp "$am_scriptdir/test-driver" .
fi
diff --git a/tests/color.test b/tests/color.test
index 12c1238..1313b7a 100755
--- a/tests/color.test
+++ b/tests/color.test
@@ -88,7 +88,7 @@ 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"$parallel_tests" = x"yes"; then
+ if test x"$am_parallel_tests" = x"yes"; then
cat stdout | grep "^${mgn}ERROR${std}: .*error"
else
cat stdout | grep "^${red}FAIL${std}: .*error"
diff --git a/tests/color2.test b/tests/color2.test
index 96eac46..e143be9 100755
--- a/tests/color2.test
+++ b/tests/color2.test
@@ -99,7 +99,7 @@ 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"$parallel_tests" = x"yes"; then
+ if test x"$am_parallel_tests" = x"yes"; then
cat stdout | grep "^${mgn}ERROR${std}: .*error"
else
cat stdout | grep "^${red}FAIL${std}: .*error"
diff --git a/tests/cygnus-imply-foreign.test b/tests/cygnus-imply-foreign.test
index 1a8d7d3..51a11f9 100755
--- a/tests/cygnus-imply-foreign.test
+++ b/tests/cygnus-imply-foreign.test
@@ -29,7 +29,7 @@ $ACLOCAL
# We want complete control automake flags, while honouring the
# user overrides for $AUTOMAKE.
-AUTOMAKE=$original_AUTOMAKE
+AUTOMAKE=$am_original_AUTOMAKE
# Sanity check: gnu mode must complain about missing files and
# portability problems.
diff --git a/tests/defs b/tests/defs
index d50cb39..85835fc 100644
--- a/tests/defs
+++ b/tests/defs
@@ -122,7 +122,7 @@ esac
## ----------------------- ##
echo "Running from installcheck: $am_running_installcheck"
-echo "Using TAP: $using_tap"
+echo "Using TAP: $am_using_tap"
echo "PATH = $PATH"
@@ -201,22 +201,22 @@ Exit ()
(exit $1); exit $1
}
-if test $using_tap = yes; then
- funcs_file_=tap-functions.sh
+if test $am_using_tap = yes; then
+ am_funcs_file=tap-functions.sh
else
- funcs_file_=plain-functions.sh
+ am_funcs_file=plain-functions.sh
fi
-if test -f "$testsrcdir/$funcs_file_"; then
- . "$testsrcdir/$funcs_file_" || {
- echo "$me: error sourcing $testsrcdir/$funcs_file_" >&2
+if test -f "$testsrcdir/$am_funcs_file"; then
+ . "$testsrcdir/$am_funcs_file" || {
+ echo "$me: error sourcing $testsrcdir/$am_funcs_file" >&2
Exit 99
}
else
- echo "$me: $testsrcdir/$funcs_file_ not found, check \$testsrcdir" >&2
+ echo "$me: $testsrcdir/$am_funcs_file not found, check \$testsrcdir" >&2
Exit 99
fi
-unset funcs_file_
+unset am_funcs_file
# Avoid spurious TAP diagnostic. Keep this in sync with the definition
# of $(TAP_LOG_DRIVER_FLAGS) in `tests/Makefile.am'.
@@ -276,7 +276,7 @@ AUTOMAKE_run ()
$AUTOMAKE ${1+"$@"} >stdout 2>stderr || am__got_rc=$?
cat stderr >&2
cat stdout
- if test $using_tap != yes; then
+ if test $am_using_tap != yes; then
test $am__got_rc -eq $am__exp_rc || Exit 1
return
fi
@@ -483,12 +483,12 @@ sed_unindent_prog="" # Avoid interferences from the
environment.
# get_shell_script SCRIPT-NAME
# -----------------------------
# Fetch an Automake-provided shell script from the `lib/' directory into
-# the current directory, and, if the `$test_prefer_config_shell' variable
-# is set to "yes", modify its shebang line to use $SHELL instead of
-# /bin/sh.
+# the current directory, and, if the `$am_test_prefer_config_shell'
+# variable is set to "yes", modify its shebang line to use $SHELL instead
+# of /bin/sh.
get_shell_script ()
{
- if test x"$test_prefer_config_shell" = x"yes"; then
+ if test x"$am_test_prefer_config_shell" = x"yes"; then
sed "1s|#!.*|#! $SHELL|" "$am_scriptdir/$1" > "$1"
chmod a+x "$1"
else
@@ -573,7 +573,7 @@ do
xsi-bin-sh)
require_xsi "/bin/sh";;
xsi-lib-shell)
- if test x"$test_prefer_config_shell" = x"yes"; then
+ if test x"$am_test_prefer_config_shell" = x"yes"; then
require_xsi "$SHELL"
else
require_xsi "/bin/sh"
@@ -917,7 +917,7 @@ if test "$sh_errexit_works" = yes; then
else
keep_testdirs=no
fi
- if test $using_tap = yes; then
+ if test $am_using_tap = yes; then
if test $have_tap_plan_ != yes && test $exit_status -eq 0; then
plan_ "now"
fi
@@ -976,7 +976,7 @@ else
# to append AC_OUTPUT.
{
echo "AC_INIT([$me], [1.0])"
- if test x"$parallel_tests" = x"yes"; then
+ if test x"$am_parallel_tests" = x"yes"; then
echo "AM_INIT_AUTOMAKE([parallel-tests])"
else
echo "AM_INIT_AUTOMAKE"
diff --git a/tests/defs-static.in b/tests/defs-static.in
index 44b80ba..df2fd43 100644
--- a/tests/defs-static.in
+++ b/tests/defs-static.in
@@ -73,13 +73,13 @@ fi
for var in \
me \
required \
- using_tap \
- parallel_tests \
+ am_using_tap \
+ am_parallel_tests \
am_create_testdir \
am_tap_implementation \
- test_prefer_config_shell \
- original_AUTOMAKE \
- original_ACLOCAL \
+ am_test_prefer_config_shell \
+ am_original_AUTOMAKE \
+ am_original_ACLOCAL \
; do
if eval "test x\"\$$var\" != x" && env | grep "^$var=" >/dev/null; then
echo "$argv0: variable \`$var' is set in the environment:" \
@@ -92,8 +92,8 @@ unset var
# See whether the current test script is expected to use TAP or not.
# Use a sensible default, while allowing the scripts to override this
# check.
-if test -z "$using_tap"; then
- case $argv0 in *.tap) using_tap=yes;; *) using_tap=no;; esac
+if test -z "$am_using_tap"; then
+ case $argv0 in *.tap) am_using_tap=yes;; *) am_using_tap=no;; esac
fi
testsrcdir='@abs_srcdir@'
@@ -152,21 +152,21 @@
AUTOHEADER=${AM_TESTSUITE_AUTOHEADER-${AUTOHEADER-'@am_AUTOHEADER@'}}
AUTOUPDATE=${AM_TESTSUITE_AUTOUPDATE-${AUTOUPDATE-'@am_AUTOUPDATE@'}}
# Tests who want complete control over aclocal or automake command-line
-# options should use $original_ACLOCAL or $original_AUTOMAKE. The
+# options should use $am_original_ACLOCAL or $am_original_AUTOMAKE. The
# `test -z' tests take care not to re-initialize them if defs-static
# is re-sourced, as we want defs-static to remain really idempotent.
-if test -z "$original_AUTOMAKE"; then
- original_AUTOMAKE=${AM_TESTSUITE_AUTOMAKE-${AUTOMAKE-"automake-$APIVERSION"}}
+if test -z "$am_original_AUTOMAKE"; then
+
am_original_AUTOMAKE=${AM_TESTSUITE_AUTOMAKE-${AUTOMAKE-"automake-$APIVERSION"}}
fi
-if test -z "$original_ACLOCAL"; then
- original_ACLOCAL=${AM_TESTSUITE_ACLOCAL-${ACLOCAL-"aclocal-$APIVERSION"}}
+if test -z "$am_original_ACLOCAL"; then
+ am_original_ACLOCAL=${AM_TESTSUITE_ACLOCAL-${ACLOCAL-"aclocal-$APIVERSION"}}
fi
# Use -Werror because this also turns some Perl warnings into error.
# Tests for which this is inappropriate should use -Wno-error.
# Tests who want complete control over aclocal command-line options
-# should use $original_ACLOCAL instead.
-ACLOCAL="$original_ACLOCAL -Werror"
+# should use $am_original_ACLOCAL instead.
+ACLOCAL="$am_original_ACLOCAL -Werror"
# See how Automake should be run. We put --foreign as the default
# strictness to avoid having to create lots and lots of files. A test
@@ -175,8 +175,8 @@ ACLOCAL="$original_ACLOCAL -Werror"
# testing that a warning is enabled by a specific switch) should use
# -Wnone or/and -Wno-error.
# Tests who want complete control over automake command-line options
-# should use $original_AUTOMAKE instead.
-AUTOMAKE="$original_AUTOMAKE --foreign -Werror -Wall"
+# should use $am_original_AUTOMAKE instead.
+AUTOMAKE="$am_original_AUTOMAKE --foreign -Werror -Wall"
# POSIX no longer requires 'egrep' and 'fgrep',
# but some hosts lack 'grep -E' and 'grep -F'.
diff --git a/tests/dejagnu.test b/tests/dejagnu.test
index fe994b5..43bb0f0 100755
--- a/tests/dejagnu.test
+++ b/tests/dejagnu.test
@@ -25,7 +25,7 @@ AUTOMAKE_OPTIONS = dejagnu
TESTS = frob.test
END
-test x"$parallel_tests" != x"yes" || : > test-driver
+test x"$am_parallel_tests" != x"yes" || : > test-driver
$ACLOCAL
$AUTOMAKE
diff --git a/tests/gen-testsuite-part b/tests/gen-testsuite-part
index fc21487..428ff7c 100755
--- a/tests/gen-testsuite-part
+++ b/tests/gen-testsuite-part
@@ -179,7 +179,7 @@ my %test_generators =
# Makefile.am generated by it define the TESTS variable.
#
# Individual tests can prevent the creation of such a sibling by
- # explicitly setting the `$parallel_tests' variable to either "yes"
+ # 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
@@ -192,9 +192,9 @@ my %test_generators =
line_matcher =>
qr/(?:^|\s)TESTS\s*=/,
line_rejecter =>
- qr/(?:^[^#]*\bparallel-tests\b)|\bparallel_tests=/,
+ qr/(?:^[^#]*\bparallel-tests\b)|\bam_parallel_tests=/,
shell_setup_code =>
- 'parallel_tests=yes'
+ 'am_parallel_tests=yes'
},
#
# For each test script in the Automake testsuite that tests features
@@ -208,8 +208,8 @@ my %test_generators =
# the `get_shell_script' function anywhere.
#
# Individual tests can prevent the creation of such a sibling by
- # explicitly setting the `$test_prefer_config_shell' variable to
- # either "yes" or "no".
+ # explicitly setting the `$am_test_prefer_config_shell' variable
+ # to either "yes" or "no".
# The rationale for this is that if the variable is set to "yes",
# the test already uses $SHELL, so that a sibling would be just a
# duplicate; while if the variable is set to "no", the test doesn't
@@ -222,9 +222,9 @@ my %test_generators =
line_matcher =>
qr/(^|\s)get_shell_script\s/,
line_rejecter =>
- qr/\btest_prefer_config_shell=/,
+ qr/\bam_test_prefer_config_shell=/,
shell_setup_code =>
- 'test_prefer_config_shell=yes',
+ 'am_test_prefer_config_shell=yes',
},
#
# Tests on tap support should be run with both the perl and awk
diff --git a/tests/gnuwarn.test b/tests/gnuwarn.test
index 3db7e85..a29ffb4 100755
--- a/tests/gnuwarn.test
+++ b/tests/gnuwarn.test
@@ -19,7 +19,7 @@
. ./defs || Exit 1
# We need (almost) complete control over automake options.
-AUTOMAKE="$original_AUTOMAKE -Werror"
+AUTOMAKE="$am_original_AUTOMAKE -Werror"
cat >> configure.in << 'END'
AC_PROG_CC
diff --git a/tests/help.test b/tests/help.test
index f0eeed2..71e7f72 100755
--- a/tests/help.test
+++ b/tests/help.test
@@ -25,8 +25,8 @@ cd emptydir
# Honour user overrides for $ACLOCAL and $AUTOMAKE, but without
# adding extra options.
-ACLOCAL=$original_ACLOCAL
-AUTOMAKE=$original_AUTOMAKE
+ACLOCAL=$am_original_ACLOCAL
+AUTOMAKE=$am_original_AUTOMAKE
$ACLOCAL --version
$ACLOCAL --help
diff --git a/tests/help2.test b/tests/help2.test
index f016359..0f710b7 100755
--- a/tests/help2.test
+++ b/tests/help2.test
@@ -24,8 +24,8 @@ cd cleandir
# Honour user overrides for $ACLOCAL and $AUTOMAKE, but without
# adding extra options.
-ACLOCAL=$original_ACLOCAL
-AUTOMAKE=$original_AUTOMAKE
+ACLOCAL=$am_original_ACLOCAL
+AUTOMAKE=$am_original_AUTOMAKE
echo '[' > configure.in
echo '[' > acinclude.m4
diff --git a/tests/help3.test b/tests/help3.test
index eddd3e1..5c67a14 100755
--- a/tests/help3.test
+++ b/tests/help3.test
@@ -24,8 +24,8 @@ cd cleandir
# Honour user overrides for $ACLOCAL and $AUTOMAKE, but without
# adding extra options.
-ACLOCAL=$original_ACLOCAL
-AUTOMAKE=$original_AUTOMAKE
+ACLOCAL=$am_original_ACLOCAL
+AUTOMAKE=$am_original_AUTOMAKE
cat > configure.in <<END
AC_INIT([$me], [1.0])
diff --git a/tests/help4.test b/tests/help4.test
index 906803a..aba7145 100755
--- a/tests/help4.test
+++ b/tests/help4.test
@@ -25,8 +25,8 @@ cd emptydir
# Honour user overrides for $ACLOCAL and $AUTOMAKE, but without
# adding extra options.
-ACLOCAL=$original_ACLOCAL
-AUTOMAKE=$original_AUTOMAKE
+ACLOCAL=$am_original_ACLOCAL
+AUTOMAKE=$am_original_AUTOMAKE
escape_dots () { sed 's/\./\\./g'; } # Avoid issues with `\' in backquotes.
apiversion_rx=`echo "$APIVERSION" | escape_dots`
diff --git a/tests/parallel-tests-cmdline-override.test
b/tests/parallel-tests-cmdline-override.test
index fa47032..c12156e 100755
--- a/tests/parallel-tests-cmdline-override.test
+++ b/tests/parallel-tests-cmdline-override.test
@@ -17,7 +17,7 @@
# Check that we can use indirections when overriding TESTS and
# TEST_LOGS from the command line.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-console-output.test
b/tests/parallel-tests-console-output.test
index 8122bfd..63dd749 100755
--- a/tests/parallel-tests-console-output.test
+++ b/tests/parallel-tests-console-output.test
@@ -17,7 +17,7 @@
# parallel-tests: some checks on console output about testsuite
# progress.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-driver-install.test
b/tests/parallel-tests-driver-install.test
index 10455fb..4fa6dfd 100755
--- a/tests/parallel-tests-driver-install.test
+++ b/tests/parallel-tests-driver-install.test
@@ -17,7 +17,7 @@
# Check that auxiliary script 'test-driver' gets automatically installed
# in the correct directory by 'parallel-tests' option.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
: Try first with parallel-tests defined in AM_INIT_AUTOMAKE.
diff --git a/tests/parallel-tests-dry-run.test
b/tests/parallel-tests-dry-run.test
index 888d888..4791598 100755
--- a/tests/parallel-tests-dry-run.test
+++ b/tests/parallel-tests-dry-run.test
@@ -17,7 +17,7 @@
# Check `make -n' for testsuite-related targets, when `parallel-tests'
# is in use.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-empty-testlogs.test
b/tests/parallel-tests-empty-testlogs.test
index e3d77ea..ea8e705 100755
--- a/tests/parallel-tests-empty-testlogs.test
+++ b/tests/parallel-tests-empty-testlogs.test
@@ -18,7 +18,7 @@
# - empty TESTS
# - empty TEST_LOGS
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-exit-statuses.test
b/tests/parallel-tests-exit-statuses.test
index 840a14a..a2e56a4 100755
--- a/tests/parallel-tests-exit-statuses.test
+++ b/tests/parallel-tests-exit-statuses.test
@@ -17,7 +17,7 @@
# Check parallel-tests features: normal and special exit statuses
# in the test scripts.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-extra-programs.test
b/tests/parallel-tests-extra-programs.test
index f309b4c..51d6ef3 100755
--- a/tests/parallel-tests-extra-programs.test
+++ b/tests/parallel-tests-extra-programs.test
@@ -18,7 +18,7 @@
# (or even be) $(EXTRA_PROGRAMS).
required='cc native'
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-fd-redirect.test
b/tests/parallel-tests-fd-redirect.test
index e00581c..73a134e 100755
--- a/tests/parallel-tests-fd-redirect.test
+++ b/tests/parallel-tests-fd-redirect.test
@@ -22,7 +22,7 @@
# See also the more generic test 'check-fd-redirect.test'.
required='cc native'
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-fork-bomb.test
b/tests/parallel-tests-fork-bomb.test
index 7b616c1..5180ada 100755
--- a/tests/parallel-tests-fork-bomb.test
+++ b/tests/parallel-tests-fork-bomb.test
@@ -18,7 +18,7 @@
# - If $(TEST_SUITE_LOG) is in $(TEST_LOGS), we get a diagnosed
# error, not a make hang or a system freeze.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
# The tricky part of this test is to avoid that make hangs or even
diff --git a/tests/parallel-tests-harderror.test
b/tests/parallel-tests-harderror.test
index f49b79b..3d453d2 100755
--- a/tests/parallel-tests-harderror.test
+++ b/tests/parallel-tests-harderror.test
@@ -16,7 +16,7 @@
# Check parallel-tests features: DISABLE_HARD_ERRORS
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-interrupt.tap
b/tests/parallel-tests-interrupt.tap
index 9e3f2de..ffe4074 100755
--- a/tests/parallel-tests-interrupt.tap
+++ b/tests/parallel-tests-interrupt.tap
@@ -19,7 +19,7 @@
# but we couldn't find a better way to deal with inter-processes
# signals and the whole process-synchronization mess.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
plan_ 16
diff --git a/tests/parallel-tests-log-compiler-1.test
b/tests/parallel-tests-log-compiler-1.test
index 887fcee..2618177 100755
--- a/tests/parallel-tests-log-compiler-1.test
+++ b/tests/parallel-tests-log-compiler-1.test
@@ -19,7 +19,7 @@
# and xxx_LOG_FLAGS), also with AC_SUBST'd stuff.
# See also related test 'parallel-tests-log-compiler-2.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-log-compiler-2.test
b/tests/parallel-tests-log-compiler-2.test
index 0099b7f..a279abd 100755
--- a/tests/parallel-tests-log-compiler-2.test
+++ b/tests/parallel-tests-log-compiler-2.test
@@ -19,7 +19,7 @@
# and xxx_LOG_FLAGS), when some tests are PROGRAMS.
# See also related test 'parallel-tests-log-compiler-1.test'.
-parallel_tests=yes
+am_parallel_tests=yes
required='cc native'
. ./defs || Exit 1
diff --git a/tests/parallel-tests-log-compiler-example.test
b/tests/parallel-tests-log-compiler-example.test
index 95013f1..91fe5b5 100755
--- a/tests/parallel-tests-log-compiler-example.test
+++ b/tests/parallel-tests-log-compiler-example.test
@@ -17,7 +17,7 @@
# Test the example of usage of generic and extension-specific
# LOG_COMPILER and LOG_FLAGS given in the manual.
-parallel_tests=yes
+am_parallel_tests=yes
required=python
. ./defs || Exit 1
diff --git a/tests/parallel-tests-log-override-1.test
b/tests/parallel-tests-log-override-1.test
index 988e424..1b007d7 100755
--- a/tests/parallel-tests-log-override-1.test
+++ b/tests/parallel-tests-log-override-1.test
@@ -16,7 +16,7 @@
# Check parallel-tests features: runtime redefinition of $(TEST_SUITE_LOG).
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in <<'END'
diff --git a/tests/parallel-tests-log-override-2.test
b/tests/parallel-tests-log-override-2.test
index ef37a2c..da7366b 100755
--- a/tests/parallel-tests-log-override-2.test
+++ b/tests/parallel-tests-log-override-2.test
@@ -18,7 +18,7 @@
# - $(TEST_SUITE_LOG) and $(TESTS)
# - $(TEST_SUITE_LOG) and $(TEST_LOGS)
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in <<'END'
diff --git a/tests/parallel-tests-log-override-recheck.test
b/tests/parallel-tests-log-override-recheck.test
index 5996895..b969906 100755
--- a/tests/parallel-tests-log-override-recheck.test
+++ b/tests/parallel-tests-log-override-recheck.test
@@ -17,7 +17,7 @@
# Check parallel-tests features: runtime redefinition of $(TEST_SUITE_LOG)
# for the recheck target.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in <<'END'
diff --git a/tests/parallel-tests-no-color-in-log.test
b/tests/parallel-tests-no-color-in-log.test
index 5d33ac5..97ef19d 100755
--- a/tests/parallel-tests-no-color-in-log.test
+++ b/tests/parallel-tests-no-color-in-log.test
@@ -16,7 +16,7 @@
# Colorized output from the testsuite report shouldn't end up in log files.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
esc=''
diff --git a/tests/parallel-tests-no-spurious-summary.test
b/tests/parallel-tests-no-spurious-summary.test
index 9ef7715..70d9cb7 100755
--- a/tests/parallel-tests-no-spurious-summary.test
+++ b/tests/parallel-tests-no-spurious-summary.test
@@ -17,7 +17,7 @@
# Check that `:test-results:' directives in test scripts' output doesn't
# originate spurious results in the testsuite summary.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-once.test b/tests/parallel-tests-once.test
index d676a12..5f00715 100755
--- a/tests/parallel-tests-once.test
+++ b/tests/parallel-tests-once.test
@@ -18,7 +18,7 @@
# clean directory. An early implementation of the `.trs' intermediate
# files incurred a similar problem.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-reset-term.test
b/tests/parallel-tests-reset-term.test
index 1544c3f..0b3b6d9 100755
--- a/tests/parallel-tests-reset-term.test
+++ b/tests/parallel-tests-reset-term.test
@@ -17,7 +17,7 @@
# Check that the parallel-tests driver correctly handle overrides of the
# TERM variable by either TESTS_ENVIRONMENT and AM_TESTS_ENVIRONMENT.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
esc='['
diff --git a/tests/parallel-tests-subdir.test b/tests/parallel-tests-subdir.test
index 879c858..caae230 100755
--- a/tests/parallel-tests-subdir.test
+++ b/tests/parallel-tests-subdir.test
@@ -17,7 +17,7 @@
# Check that the parallel-tests driver creates parent directories for
# the log files when needed.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-suffix-prog.test
b/tests/parallel-tests-suffix-prog.test
index 1ea730a..cbdd833 100755
--- a/tests/parallel-tests-suffix-prog.test
+++ b/tests/parallel-tests-suffix-prog.test
@@ -18,7 +18,7 @@
# - suffix rules, with PROGRAMS involved
# See also sister test 'parallel-tests-suffix.test'.
-parallel_tests=yes
+am_parallel_tests=yes
required='cc native'
. ./defs || Exit 1
diff --git a/tests/parallel-tests-suffix.test b/tests/parallel-tests-suffix.test
index c56f4bd..f20704a 100755
--- a/tests/parallel-tests-suffix.test
+++ b/tests/parallel-tests-suffix.test
@@ -18,7 +18,7 @@
# - suffix rules
# See also sister test 'parallel-tests-suffix-prog.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests-unreadable.test
b/tests/parallel-tests-unreadable.test
index 6192a13..2b4d077 100755
--- a/tests/parallel-tests-unreadable.test
+++ b/tests/parallel-tests-unreadable.test
@@ -17,7 +17,7 @@
# Check that the testsuite driver copes well with unreadable `.log'
# and `.trs' files.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
: > t
diff --git a/tests/parallel-tests.test b/tests/parallel-tests.test
index 014adfc..1b03710 100755
--- a/tests/parallel-tests.test
+++ b/tests/parallel-tests.test
@@ -23,7 +23,7 @@
# - TEST_LOGS redefinition at runtime
# - RECHECK_LOGS redefinition at runtime
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests10.test b/tests/parallel-tests10.test
index 5718611..eca57f8 100755
--- a/tests/parallel-tests10.test
+++ b/tests/parallel-tests10.test
@@ -18,7 +18,7 @@
# - trailing whitespace in TESTS
# GNU make 3.80 may expand trailing white space to `.log'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests2.test b/tests/parallel-tests2.test
index ab390f8..d2abc8b 100755
--- a/tests/parallel-tests2.test
+++ b/tests/parallel-tests2.test
@@ -19,7 +19,7 @@
# - recheck-html
# Keep this in sync with sister test `test-driver-custom-html.test'.
-parallel_tests=yes
+am_parallel_tests=yes
required=rst2html
. ./defs || Exit 1
diff --git a/tests/parallel-tests3.test b/tests/parallel-tests3.test
index a140988..fd33564 100755
--- a/tests/parallel-tests3.test
+++ b/tests/parallel-tests3.test
@@ -17,7 +17,7 @@
# Check parallel-tests features:
# - concurrent parallel execution
-parallel_tests=yes
+am_parallel_tests=yes
required=GNUmake
. ./defs || Exit 1
diff --git a/tests/parallel-tests5.test b/tests/parallel-tests5.test
index 6b3e70b..cd062bd 100755
--- a/tests/parallel-tests5.test
+++ b/tests/parallel-tests5.test
@@ -20,7 +20,7 @@
# Actually, this test doesn't ensure that things happen concurrently.
# It merely serves as demonstration. :-)
-parallel_tests=yes
+am_parallel_tests=yes
required='cc native GNUmake'
. ./defs || Exit 1
diff --git a/tests/parallel-tests6.test b/tests/parallel-tests6.test
index e0c535e..eac4cf1 100755
--- a/tests/parallel-tests6.test
+++ b/tests/parallel-tests6.test
@@ -19,7 +19,7 @@
# BSD make will expand `$(TESTS:=.log)' to `.log' unless overridden.
# See parallel-tests10.test for a similar issue.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
AC_OUTPUT
diff --git a/tests/parallel-tests8.test b/tests/parallel-tests8.test
index 84ac460..560f9d4 100755
--- a/tests/parallel-tests8.test
+++ b/tests/parallel-tests8.test
@@ -24,7 +24,7 @@
# manual for the ugliness in this area, when VPATH comes into
# play. :-/
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/parallel-tests9.test b/tests/parallel-tests9.test
index fb68d51..bef1674 100755
--- a/tests/parallel-tests9.test
+++ b/tests/parallel-tests9.test
@@ -17,7 +17,7 @@
# Check parallel-tests features:
# - recheck
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/pr401.test b/tests/pr401.test
index b2f3c11..7a2662b 100755
--- a/tests/pr401.test
+++ b/tests/pr401.test
@@ -18,7 +18,7 @@
# Check support for AC_CONFIG_LIBOBJ_DIR vs LIBOBJS.
# (pr401b.test and pr401c.test do the same for LTLIBOBJS and ALLOCA)
-parallel_tests=no
+am_parallel_tests=no
required=cc
. ./defs || Exit 1
diff --git a/tests/pr401b.test b/tests/pr401b.test
index ccd5cbd..ad14b4d 100755
--- a/tests/pr401b.test
+++ b/tests/pr401b.test
@@ -18,7 +18,7 @@
# Check support for AC_CONFIG_LIBOBJ_DIR vs LTLIBOBJS.
# (pr401.test and pr401c.test do the same for LIBOBJS and ALLOCA)
-parallel_tests=no
+am_parallel_tests=no
required='cc libtoolize'
. ./defs || Exit 1
diff --git a/tests/pr401c.test b/tests/pr401c.test
index 3db12ee..8649b91 100755
--- a/tests/pr401c.test
+++ b/tests/pr401c.test
@@ -18,7 +18,7 @@
# Check support for AC_CONFIG_LIBOBJ_DIR vs ALLOCA.
# (pr401.test and pr401b.test do the same for LIBOBJS and LTLIBOBJS)
-parallel_tests=no
+am_parallel_tests=no
required=cc
. ./defs || Exit 1
diff --git a/tests/self-check-env-sanitize.tap
b/tests/self-check-env-sanitize.tap
index ad6fb31..8736c54 100755
--- a/tests/self-check-env-sanitize.tap
+++ b/tests/self-check-env-sanitize.tap
@@ -28,14 +28,14 @@ plan_ 18 # Two times the number of variable names in $vars.
vars='
me
- parallel_tests
required
- using_tap
+ am_parallel_tests
+ am_using_tap
am_create_testdir
am_tap_implementation
- test_prefer_config_shell
- original_AUTOMAKE
- original_ACLOCAL
+ am_test_prefer_config_shell
+ am_original_AUTOMAKE
+ am_original_ACLOCAL
'
do_run ()
diff --git a/tests/self-check-tap.test b/tests/self-check-tap.test
index 43a8bac..29350ef 100755
--- a/tests/self-check-tap.test
+++ b/tests/self-check-tap.test
@@ -15,20 +15,29 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Sanity check for the automake testsuite.
-# Make sure that $using_tap gets automatically defined by `./defs-static',
-# but can be overridden by the individual tests.
+# Make sure that $am_using_tap gets automatically defined by
+# `./defs-static', but can be overridden by the individual tests.
. ./defs-static || exit 1
set -ex
-$SHELL -c '. ./defs-static && test $using_tap = yes' foo.tap
-$SHELL -c '. ./defs-static && test $using_tap = no' foo.test
-$SHELL -c '. ./defs-static && test $using_tap = no' tap
-$SHELL -c '. ./defs-static && test $using_tap = no' tap.test
-$SHELL -c '. ./defs-static && test $using_tap = no' foo-tap
+$SHELL -c '. ./defs-static && test $am_using_tap = yes' foo.tap
+$SHELL -c '. ./defs-static && test $am_using_tap = no' foo.test
+$SHELL -c '. ./defs-static && test $am_using_tap = no' tap
+$SHELL -c '. ./defs-static && test $am_using_tap = no' tap.test
+$SHELL -c '. ./defs-static && test $am_using_tap = no' foo-tap
-$SHELL -c 'using_tap=no; . ./defs-static; test $using_tap = no' foo.tap
-$SHELL -c 'using_tap=yes; . ./defs-static; test $using_tap = yes' foo.test
+$SHELL -c '
+ am_using_tap=no
+ . ./defs-static
+ test $am_using_tap = no
+' foo.tap
+
+$SHELL -c '
+ am_using_tap=yes
+ . ./defs-static
+ test $am_using_tap = yes
+' foo.test
:
diff --git a/tests/strictness-override.test b/tests/strictness-override.test
index aacb561..34ceae0 100755
--- a/tests/strictness-override.test
+++ b/tests/strictness-override.test
@@ -24,7 +24,7 @@
. ./defs || Exit 1
# We want complete control over automake options.
-AUTOMAKE=$original_AUTOMAKE
+AUTOMAKE=$am_original_AUTOMAKE
cat > Makefile.am <<'END'
AUTOMAKE_OPTIONS =
diff --git a/tests/strictness-precedence.test b/tests/strictness-precedence.test
index a949215..0198fa6 100755
--- a/tests/strictness-precedence.test
+++ b/tests/strictness-precedence.test
@@ -21,7 +21,7 @@
. ./defs || Exit 1
# We want complete control over automake options.
-AUTOMAKE=$original_AUTOMAKE
+AUTOMAKE=$am_original_AUTOMAKE
cat > Makefile.am <<'END'
AUTOMAKE_OPTIONS =
diff --git a/tests/tap-ambiguous-directive.test
b/tests/tap-ambiguous-directive.test
index 78f9684..203fb8a 100755
--- a/tests/tap-ambiguous-directive.test
+++ b/tests/tap-ambiguous-directive.test
@@ -18,7 +18,7 @@
# - handling of "ambiguous" TODO and SKIP directives
# See also related test 'tap-todo-skip-together.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-autonumber.test b/tests/tap-autonumber.test
index 12dec11..c0b6d5d 100755
--- a/tests/tap-autonumber.test
+++ b/tests/tap-autonumber.test
@@ -20,7 +20,7 @@
# - test results without number get automatically numbered in the
# console progress output
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-bad-prog.tap b/tests/tap-bad-prog.tap
index 3cc5e21..900c531 100755
--- a/tests/tap-bad-prog.tap
+++ b/tests/tap-bad-prog.tap
@@ -18,7 +18,7 @@
# - missing, unreadable, or not-executable test scripts cause proper
# error reports
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
plan_ 5
diff --git a/tests/tap-bailout-and-logging.test
b/tests/tap-bailout-and-logging.test
index 9854ea8..65e2934 100755
--- a/tests/tap-bailout-and-logging.test
+++ b/tests/tap-bailout-and-logging.test
@@ -18,7 +18,7 @@
# - even after a "Bail out!" directive, all input is still copied in
# the log file
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-bailout-suppress-badexit.test
b/tests/tap-bailout-suppress-badexit.test
index 059394c..080557e 100755
--- a/tests/tap-bailout-suppress-badexit.test
+++ b/tests/tap-bailout-suppress-badexit.test
@@ -18,7 +18,7 @@
# - A "Bail out!" directive causes the driver to ignore the exit
# status of the test script.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
tests='exit.test exit127.test sighup.test sigterm.test'
diff --git a/tests/tap-bailout-suppress-later-diagnostic.test
b/tests/tap-bailout-suppress-later-diagnostic.test
index 679343f..5389fed 100755
--- a/tests/tap-bailout-suppress-later-diagnostic.test
+++ b/tests/tap-bailout-suppress-later-diagnostic.test
@@ -18,7 +18,7 @@
# - A "Bail out!" directive causes the driver to ignore any TAP
# diagnostic message in the rest of the following TAP stream.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-bailout-suppress-later-errors.test
b/tests/tap-bailout-suppress-later-errors.test
index 19aa9e2..c636289 100755
--- a/tests/tap-bailout-suppress-later-errors.test
+++ b/tests/tap-bailout-suppress-later-errors.test
@@ -18,7 +18,7 @@
# - A "Bail out!" directive causes the driver to ignore any TAP
# result or error in the rest of the following TAP stream.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-bailout.test b/tests/tap-bailout.test
index 8354b27..d5b6330 100755
--- a/tests/tap-bailout.test
+++ b/tests/tap-bailout.test
@@ -17,7 +17,7 @@
# Basic TAP test protocol support:
# - "Bail out!" magic
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-basic.test b/tests/tap-basic.test
index dde65f2..8e39161 100755
--- a/tests/tap-basic.test
+++ b/tests/tap-basic.test
@@ -24,7 +24,7 @@
# Note that some of the features checked here are checked in other
# test cases too, usually in a more thorough and detailed way.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/tests/tap-color.test b/tests/tap-color.test
index 16fea15..5884a2b 100755
--- a/tests/tap-color.test
+++ b/tests/tap-color.test
@@ -17,7 +17,7 @@
# TAP support:
# - colorization of TAP results and diagnostic messages
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
TERM=ansi; export TERM
diff --git a/tests/tap-common-setup.test b/tests/tap-common-setup.test
index 92ae3c4..2bcd9e6 100755
--- a/tests/tap-common-setup.test
+++ b/tests/tap-common-setup.test
@@ -16,7 +16,7 @@
# Auxiliary test to set up common data used by many tests on TAP support.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << END
diff --git a/tests/tap-deps.test b/tests/tap-deps.test
index 2f9459d..74612ed 100755
--- a/tests/tap-deps.test
+++ b/tests/tap-deps.test
@@ -17,7 +17,7 @@
# Basic TAP test protocol support:
# - dependencies between test scripts
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/tests/tap-diagnostic-custom.test b/tests/tap-diagnostic-custom.test
index 88c859c..05f0875 100755
--- a/tests/tap-diagnostic-custom.test
+++ b/tests/tap-diagnostic-custom.test
@@ -18,7 +18,7 @@
# - option '--diagnostic-string' to customize the string introducing
# TAP diagnostics
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/tests/tap-diagnostic.test b/tests/tap-diagnostic.test
index 3c7da79..16101af 100755
--- a/tests/tap-diagnostic.test
+++ b/tests/tap-diagnostic.test
@@ -18,7 +18,7 @@
# - diagnostic messages (TAP lines with leading "#")
# - flags '--comments' and '--no-comments' of the TAP test driver
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-doc.test b/tests/tap-doc.test
index 8ccd30f..174e5e5 100755
--- a/tests/tap-doc.test
+++ b/tests/tap-doc.test
@@ -17,7 +17,7 @@
# Check that an example given in the documentation really works.
# See section "Simple Tests" subsection "Script-based Testsuites".
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/tests/tap-doc2.test b/tests/tap-doc2.test
index dc69654..258f2d3 100755
--- a/tests/tap-doc2.test
+++ b/tests/tap-doc2.test
@@ -19,7 +19,7 @@
# with the Automake test harness".
am_create_testdir=empty
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am <<'END'
diff --git a/tests/tap-driver-stderr.test b/tests/tap-driver-stderr.test
index 1147341..5938baf 100755
--- a/tests/tap-driver-stderr.test
+++ b/tests/tap-driver-stderr.test
@@ -18,7 +18,7 @@
# - error messages from awk/shell/perl goes to the console
required=non-root
-parallel_tests=yes
+am_parallel_tests=yes
am_create_testdir=empty
. ./defs || Exit 1
diff --git a/tests/tap-empty-diagnostic.test b/tests/tap-empty-diagnostic.test
index 6bcb8ce..78b95ba 100755
--- a/tests/tap-empty-diagnostic.test
+++ b/tests/tap-empty-diagnostic.test
@@ -17,7 +17,7 @@
# TAP support:
# - empty diagnostic messages are discarder
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-empty.test b/tests/tap-empty.test
index 557b7c7..3d7a0a1 100755
--- a/tests/tap-empty.test
+++ b/tests/tap-empty.test
@@ -18,7 +18,7 @@
# - empty TAP input
# - blank TAP input
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-escape-directive-2.test
b/tests/tap-escape-directive-2.test
index e0dd37b..41c4e74 100755
--- a/tests/tap-escape-directive-2.test
+++ b/tests/tap-escape-directive-2.test
@@ -17,7 +17,7 @@
# TAP support:
# - "escape" TODO and SKIP directives (by escaping the "#" character)
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-escape-directive.test b/tests/tap-escape-directive.test
index 194db6a..4bcec59 100755
--- a/tests/tap-escape-directive.test
+++ b/tests/tap-escape-directive.test
@@ -17,7 +17,7 @@
# TAP support:
# - "escape" TODO and SKIP directives (by escaping the "#" character)
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-exit.test b/tests/tap-exit.test
index 381adff..6cb3053 100755
--- a/tests/tap-exit.test
+++ b/tests/tap-exit.test
@@ -19,7 +19,7 @@
# - the `--ignore-exit' option causes the TAP test driver to ignore
# exit statuses of the test scripts.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
echo TESTS = > Makefile.am
diff --git a/tests/tap-fancy.test b/tests/tap-fancy.test
index 3348db7..b89aa09 100755
--- a/tests/tap-fancy.test
+++ b/tests/tap-fancy.test
@@ -17,7 +17,7 @@
# TAP support: some unusual forms for valid TAP input.
# See also related test 'tap-fancy2.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-fancy2.test b/tests/tap-fancy2.test
index 36e0f29..b661146 100755
--- a/tests/tap-fancy2.test
+++ b/tests/tap-fancy2.test
@@ -17,7 +17,7 @@
# TAP support: more unusual forms for valid TAP input.
# See also related test 'tap-fancy.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-global-log.test b/tests/tap-global-log.test
index d343581..a442602 100755
--- a/tests/tap-global-log.test
+++ b/tests/tap-global-log.test
@@ -17,7 +17,7 @@
# TAP support:
# - which log files get copied in the global log?
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-global-result.test b/tests/tap-global-result.test
index 7b83e6a..ff825da 100755
--- a/tests/tap-global-result.test
+++ b/tests/tap-global-result.test
@@ -18,7 +18,7 @@
# - which global test result derives from different test results
# mixed in a single script?
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-html.test b/tests/tap-html.test
index 07c0294..ca0ffd0 100755
--- a/tests/tap-html.test
+++ b/tests/tap-html.test
@@ -18,7 +18,7 @@
# - "check-html" and "recheck-html" targets
# - reStructuredText -> HTML conversion
-parallel_tests=yes
+am_parallel_tests=yes
required=rst2html
. ./defs || Exit 1
diff --git a/tests/tap-log.test b/tests/tap-log.test
index eecb2a2..ff832f2 100755
--- a/tests/tap-log.test
+++ b/tests/tap-log.test
@@ -22,7 +22,7 @@
# - VERBOSE environment variable support
# Keep in sync with 'test-log.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/tests/tap-merge-stdout-stderr.test
b/tests/tap-merge-stdout-stderr.test
index 4da9f38..6c07048 100755
--- a/tests/tap-merge-stdout-stderr.test
+++ b/tests/tap-merge-stdout-stderr.test
@@ -18,7 +18,7 @@
# - 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.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/tests/tap-missing-plan-and-bad-exit.test
b/tests/tap-missing-plan-and-bad-exit.test
index 48c6fcc..8a0c40f 100755
--- a/tests/tap-missing-plan-and-bad-exit.test
+++ b/tests/tap-missing-plan-and-bad-exit.test
@@ -19,7 +19,7 @@
# plan, then the driver reports both "missing plan" and "exited with
# non-zero status" errors.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat > foo.test <<END
diff --git a/tests/tap-more.test b/tests/tap-more.test
index 375aa00..fcad2fc 100755
--- a/tests/tap-more.test
+++ b/tests/tap-more.test
@@ -24,7 +24,7 @@
# correct test script(s)
# - "make distcheck" works
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/tests/tap-more2.test b/tests/tap-more2.test
index f6f1ca1..b1031f2 100755
--- a/tests/tap-more2.test
+++ b/tests/tap-more2.test
@@ -20,7 +20,7 @@
# - interactions with `check_*' variables
required='cc native'
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/tests/tap-msg0-bailout.test b/tests/tap-msg0-bailout.test
index 6aa6d60..9e326b4 100755
--- a/tests/tap-msg0-bailout.test
+++ b/tests/tap-msg0-bailout.test
@@ -19,7 +19,7 @@
# of a "plan with skip" TAP plan
# generally true!
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-msg0-directive.test b/tests/tap-msg0-directive.test
index 6ec63f7..a61cbf8 100755
--- a/tests/tap-msg0-directive.test
+++ b/tests/tap-msg0-directive.test
@@ -17,7 +17,7 @@
# TAP support:
# - literal string "0" as a TODO or SKIP message
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-msg0-misc.test b/tests/tap-msg0-misc.test
index c9399bf..6202689 100755
--- a/tests/tap-msg0-misc.test
+++ b/tests/tap-msg0-misc.test
@@ -18,7 +18,7 @@
# - literal "0" and "0.0" in a test description and a TODO/SKIP message
# at the same time
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-msg0-planskip.test b/tests/tap-msg0-planskip.test
index b8c3d6c..d10acc3 100755
--- a/tests/tap-msg0-planskip.test
+++ b/tests/tap-msg0-planskip.test
@@ -18,7 +18,7 @@
# - literal strings "0" and "0.0" as the reason of the skip in a "TAP
# plan with skip" (i.e., "1..0 # SKIP ...").
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-msg0-result.test b/tests/tap-msg0-result.test
index 86259e5..c616a8a 100755
--- a/tests/tap-msg0-result.test
+++ b/tests/tap-msg0-result.test
@@ -17,7 +17,7 @@
# TAP support:
# - the string "0" as a test description
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-negative-numbers.test b/tests/tap-negative-numbers.test
index 9fdee87..944803d 100755
--- a/tests/tap-negative-numbers.test
+++ b/tests/tap-negative-numbers.test
@@ -18,7 +18,7 @@
# - don't spuriously recognize negative TAP result numbers, but correctly
# interpret them as test descriptions instead
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-no-disable-hard-error.test
b/tests/tap-no-disable-hard-error.test
index 678e184..0ea4409 100755
--- a/tests/tap-no-disable-hard-error.test
+++ b/tests/tap-no-disable-hard-error.test
@@ -18,7 +18,7 @@
# - "Bail out!" magic and TAP parse errors are not disabled nor turned
# into simple failures by the definition DISABLE_HARD_ERRORS.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/tests/tap-no-merge-stdout-stderr.test
b/tests/tap-no-merge-stdout-stderr.test
index 25a06fd..a7a0da0 100755
--- a/tests/tap-no-merge-stdout-stderr.test
+++ b/tests/tap-no-merge-stdout-stderr.test
@@ -18,7 +18,7 @@
# - By default, TAP input is only from the stdout (and not the stderr)
# of the test command.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/tests/tap-no-spurious-numbers.test
b/tests/tap-no-spurious-numbers.test
index e3ee0c8..0c49995 100755
--- a/tests/tap-no-spurious-numbers.test
+++ b/tests/tap-no-spurious-numbers.test
@@ -18,7 +18,7 @@
# - we shouldn't spuriously recognize as TAP result numbers what it
# not, even if it seems pretty close
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-no-spurious-summary.test
b/tests/tap-no-spurious-summary.test
index bc7fd51..12b54b5 100755
--- a/tests/tap-no-spurious-summary.test
+++ b/tests/tap-no-spurious-summary.test
@@ -18,7 +18,7 @@
# - `:test-results:' directives in test scripts' output doesn't
# originate spurious results in the testsuite summary
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-no-spurious.test b/tests/tap-no-spurious.test
index 3e2afac..bf3d7ae 100755
--- a/tests/tap-no-spurious.test
+++ b/tests/tap-no-spurious.test
@@ -18,7 +18,7 @@
# - don't spuriously recognize lines that are "almost" TAP lines as
# real TAP lines
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-not-ok-skip.test b/tests/tap-not-ok-skip.test
index f154d23..10597ef 100755
--- a/tests/tap-not-ok-skip.test
+++ b/tests/tap-not-ok-skip.test
@@ -18,7 +18,7 @@
# - a "not ok # SKIP" line should count as a failure, for consistency
# with the prove(1) utility.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-number-wordboundary.test
b/tests/tap-number-wordboundary.test
index 74cddc1..63c04e6 100755
--- a/tests/tap-number-wordboundary.test
+++ b/tests/tap-number-wordboundary.test
@@ -18,7 +18,7 @@
# - TAP result numbers terminated by a non-whitespace "word boundary"
# character are recognized
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-numbers-leading-zero.test
b/tests/tap-numbers-leading-zero.test
index 81c9797..a58132e 100755
--- a/tests/tap-numbers-leading-zero.test
+++ b/tests/tap-numbers-leading-zero.test
@@ -17,7 +17,7 @@
# TAP support:
# - how does TAP result numbers with leading zero fares?
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-numeric-description.test
b/tests/tap-numeric-description.test
index ea01038..7fcb685 100755
--- a/tests/tap-numeric-description.test
+++ b/tests/tap-numeric-description.test
@@ -16,7 +16,7 @@
# TAP result lines whose description is a number.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-out-of-order.test b/tests/tap-out-of-order.test
index 9bf4685..0e3beba 100755
--- a/tests/tap-out-of-order.test
+++ b/tests/tap-out-of-order.test
@@ -17,7 +17,7 @@
# TAP support:
# - out-of-order test results
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-passthrough-exit.test b/tests/tap-passthrough-exit.test
index 68d7071..a232601 100755
--- a/tests/tap-passthrough-exit.test
+++ b/tests/tap-passthrough-exit.test
@@ -19,7 +19,7 @@
# log file
# See also related test 'tap-passthrough.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/tests/tap-passthrough.test b/tests/tap-passthrough.test
index 6406548..28501cd 100755
--- a/tests/tap-passthrough.test
+++ b/tests/tap-passthrough.test
@@ -20,7 +20,7 @@
# - TAP errors are reported in the log file too
# See also related test 'tap-passthrough-exit.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
weirdchars=\''"address@hidden&()[]<>#;,:.^?*/'
diff --git a/tests/tap-plan-corner.test b/tests/tap-plan-corner.test
index a818344..7718930 100755
--- a/tests/tap-plan-corner.test
+++ b/tests/tap-plan-corner.test
@@ -17,7 +17,7 @@
# TAP support:
# - some corner cases for TAP plan
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-plan-errors.test b/tests/tap-plan-errors.test
index 9d8abcd..e3c02c8 100755
--- a/tests/tap-plan-errors.test
+++ b/tests/tap-plan-errors.test
@@ -23,7 +23,7 @@
# and 'tap-skip-whole-badcount.test'. More checks about corner-cases
# in TAP plans are performed in 'tap-plan-corner.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-plan-leading-zero.test b/tests/tap-plan-leading-zero.test
index 4c54649..14bf439 100755
--- a/tests/tap-plan-leading-zero.test
+++ b/tests/tap-plan-leading-zero.test
@@ -19,7 +19,7 @@
# - TAP "SKIP" plans with multiple zeroes, as in "1..00 # SKIP"
# This is consistent with the behaviour of the `prove' utility.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-plan-malformed.test b/tests/tap-plan-malformed.test
index 9eb8698..8b0fa8a 100755
--- a/tests/tap-plan-malformed.test
+++ b/tests/tap-plan-malformed.test
@@ -17,7 +17,7 @@
# TAP support: a malformed TAP plan is not recognized. The checks in
# here should be consistent with the behaviour of the `prove' utility.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-plan-middle.test b/tests/tap-plan-middle.test
index 88bb647..7e90944 100755
--- a/tests/tap-plan-middle.test
+++ b/tests/tap-plan-middle.test
@@ -17,7 +17,7 @@
# TAP support:
# - test plan preceding and/or following non-result TAP lines
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-plan-whitespace.test b/tests/tap-plan-whitespace.test
index 3cdd79d..c62f751 100755
--- a/tests/tap-plan-whitespace.test
+++ b/tests/tap-plan-whitespace.test
@@ -17,7 +17,7 @@
# TAP support:
# - plan line with trailing whitespace is recognized and handled correctly
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-plan.test b/tests/tap-plan.test
index e2fda35..6b0513a 100755
--- a/tests/tap-plan.test
+++ b/tests/tap-plan.test
@@ -18,7 +18,7 @@
# - test scripts with the test plan at the beginning
# - test scripts with the test plan at the end
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-planskip-and-logging.test
b/tests/tap-planskip-and-logging.test
index 621608b..9059a38 100755
--- a/tests/tap-planskip-and-logging.test
+++ b/tests/tap-planskip-and-logging.test
@@ -18,7 +18,7 @@
# - interactions between "TAP plan with SKIP" and logging of earlier or
# later TAP or non-TAP text
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-planskip-badexit.test b/tests/tap-planskip-badexit.test
index 76ba692..9638867 100755
--- a/tests/tap-planskip-badexit.test
+++ b/tests/tap-planskip-badexit.test
@@ -18,7 +18,7 @@
# - 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").
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
echo TESTS = one.test two.test > Makefile.am
diff --git a/tests/tap-planskip-bailout.test b/tests/tap-planskip-bailout.test
index 0048e00..039de23 100755
--- a/tests/tap-planskip-bailout.test
+++ b/tests/tap-planskip-bailout.test
@@ -18,7 +18,7 @@
# - a "Bail out!" directive causes an hard error, even if coming after
# a "SKIP plan" (e.g., "1..0 # SKIP").
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-planskip-case-insensitive.test
b/tests/tap-planskip-case-insensitive.test
index 2ed2626..6ae8b63 100755
--- a/tests/tap-planskip-case-insensitive.test
+++ b/tests/tap-planskip-case-insensitive.test
@@ -17,7 +17,7 @@
# TAP support:
# - "SKIP" keyword in a TAP plan is case-insensitive
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-planskip-late.test b/tests/tap-planskip-late.test
index c2cb0a8..a246bb9 100755
--- a/tests/tap-planskip-late.test
+++ b/tests/tap-planskip-late.test
@@ -18,7 +18,7 @@
# - the special "plan with SKIP" can also be used "late" in the TAP
# stream, i.e., preceded by non-TAP output or TAP diagnostic.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-planskip-later-errors.test
b/tests/tap-planskip-later-errors.test
index eb2ee26..cf935a1 100755
--- a/tests/tap-planskip-later-errors.test
+++ b/tests/tap-planskip-later-errors.test
@@ -17,7 +17,7 @@
# TAP support:
# - TAP errors following a "TAP plan with SKIP" are still diagnosed.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-planskip-unplanned-corner.test
b/tests/tap-planskip-unplanned-corner.test
index 4e825d5..a2ee90a 100755
--- a/tests/tap-planskip-unplanned-corner.test
+++ b/tests/tap-planskip-unplanned-corner.test
@@ -18,7 +18,7 @@
# - 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.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-planskip-unplanned.test
b/tests/tap-planskip-unplanned.test
index 6286dac..c5e3ccb 100755
--- a/tests/tap-planskip-unplanned.test
+++ b/tests/tap-planskip-unplanned.test
@@ -19,7 +19,7 @@
# been seen is an error
# - any test result following a "plan with skip" is an error.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-planskip-whitespace.test
b/tests/tap-planskip-whitespace.test
index bf83241..7962e19 100755
--- a/tests/tap-planskip-whitespace.test
+++ b/tests/tap-planskip-whitespace.test
@@ -18,7 +18,7 @@
# - normalization of whitespace in console testsuite progress associated
# with a SKIP directive in the TAP plan
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-planskip.test b/tests/tap-planskip.test
index 35f7976..0f24462 100755
--- a/tests/tap-planskip.test
+++ b/tests/tap-planskip.test
@@ -17,7 +17,7 @@
# Basic TAP test protocol support:
# - special plan format to skip all the tests in a script
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-realtime.test b/tests/tap-realtime.test
index 61476c3..1b3d239 100755
--- a/tests/tap-realtime.test
+++ b/tests/tap-realtime.test
@@ -22,7 +22,7 @@
# children, and is pretty hacky and complex; is there a better way to
# accomplish the checks done here?
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >expect-check <<'END'
diff --git a/tests/tap-recheck-logs.test b/tests/tap-recheck-logs.test
index 6e1b646..d7852c6 100755
--- a/tests/tap-recheck-logs.test
+++ b/tests/tap-recheck-logs.test
@@ -17,7 +17,7 @@
# TAP support:
# - RECHECK_LOGS
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/tests/tap-recheck.test b/tests/tap-recheck.test
index 0139b07..09c17f4 100755
--- a/tests/tap-recheck.test
+++ b/tests/tap-recheck.test
@@ -17,7 +17,7 @@
# Test the 'recheck' target for TAP test protocol.
# Keep in sync with 'test-driver-custom-multitest-recheck.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
fetch_tap_driver
diff --git a/tests/tap-result-comment.test b/tests/tap-result-comment.test
index 0cfee01..ef7fc11 100755
--- a/tests/tap-result-comment.test
+++ b/tests/tap-result-comment.test
@@ -17,7 +17,7 @@
# TAP support:
# - non-directive comments in TAP results are kept verbatim
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-signal.tap b/tests/tap-signal.tap
index 31793d4..e27962e 100755
--- a/tests/tap-signal.tap
+++ b/tests/tap-signal.tap
@@ -17,7 +17,7 @@
# TAP support:
# - a test script terminated by a signal causes an hard error
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
plan_ 10
diff --git a/tests/tap-summary-aux.sh b/tests/tap-summary-aux.sh
index 7def11d..f98f4e3 100755
--- a/tests/tap-summary-aux.sh
+++ b/tests/tap-summary-aux.sh
@@ -16,7 +16,7 @@
# Auxiliary script for tests on TAP support: checking testsuite summary.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
br='============================================================================'
diff --git a/tests/tap-test-number-0.test b/tests/tap-test-number-0.test
index 1f7681f..8a117ce 100755
--- a/tests/tap-test-number-0.test
+++ b/tests/tap-test-number-0.test
@@ -18,7 +18,7 @@
# - a test result numbered as 0 is to be considered out-of-order
# This is consistent with the behaviour of the `prove' utility.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
if $PERL -w -e '
diff --git a/tests/tap-todo-skip-together.test
b/tests/tap-todo-skip-together.test
index 0f4a943..39a0177 100755
--- a/tests/tap-todo-skip-together.test
+++ b/tests/tap-todo-skip-together.test
@@ -18,7 +18,7 @@
# - TODO and SKIP directives on the same line: the first one wins
# See also related test 'tap-ambiguous-directive.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-todo-skip-whitespace.test
b/tests/tap-todo-skip-whitespace.test
index fe32c97..12e621f 100755
--- a/tests/tap-todo-skip-whitespace.test
+++ b/tests/tap-todo-skip-whitespace.test
@@ -18,7 +18,7 @@
# - normalization of whitespace in console testsuite progress associated
# with TODO and SKIP directives
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-todo-skip.test b/tests/tap-todo-skip.test
index d00dddd..7bd894b 100755
--- a/tests/tap-todo-skip.test
+++ b/tests/tap-todo-skip.test
@@ -23,7 +23,7 @@
# - the reasons for TODO and SKIP, if present, are nicely printed in
# the testsuite progress output
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-unplanned.test b/tests/tap-unplanned.test
index 177e36e..7d131d4 100755
--- a/tests/tap-unplanned.test
+++ b/tests/tap-unplanned.test
@@ -17,7 +17,7 @@
# TAP support:
# - unplanned tests are properly reported as errors
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-whitespace-normalization.test
b/tests/tap-whitespace-normalization.test
index a902438..e44a659 100755
--- a/tests/tap-whitespace-normalization.test
+++ b/tests/tap-whitespace-normalization.test
@@ -20,7 +20,7 @@
# force us to tweak dozens of other tests (hopefully).
# See also related test 'tap-todo-skip-whitespace.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat > Makefile.am << 'END'
diff --git a/tests/tap-with-and-without-number.test
b/tests/tap-with-and-without-number.test
index e989cc8..0865a6e 100755
--- a/tests/tap-with-and-without-number.test
+++ b/tests/tap-with-and-without-number.test
@@ -19,7 +19,7 @@
# - tests without explicit number get automatically numbered in the
# testsuite progress output on console
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/tap-xfail-tests.test b/tests/tap-xfail-tests.test
index 22733c8..3b98dd2 100755
--- a/tests/tap-xfail-tests.test
+++ b/tests/tap-xfail-tests.test
@@ -17,7 +17,7 @@
# TAP and $(XFAIL_TESTS): test results without directives are turned from
# PASS to XPASS and from FAIL to XFAIL; other results are unchanged.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
. "$testsrcdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
diff --git a/tests/test-driver-create-log-dir.test
b/tests/test-driver-create-log-dir.test
index c554793..902ae7c 100755
--- a/tests/test-driver-create-log-dir.test
+++ b/tests/test-driver-create-log-dir.test
@@ -18,7 +18,7 @@
# e.g., `sub/foo.log'), the Automake test harness must ensure that
# directory exists before calling any custom test driver.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/test-driver-custom-html.test
b/tests/test-driver-custom-html.test
index 5663ee6..e9f60d7 100755
--- a/tests/test-driver-custom-html.test
+++ b/tests/test-driver-custom-html.test
@@ -19,7 +19,7 @@
# - recheck-html
# Keep this in sync with sister test `parallel-tests2.test'.
-parallel_tests=yes
+am_parallel_tests=yes
required=rst2html
. ./defs || Exit 1
diff --git a/tests/test-driver-custom-multitest-recheck.test
b/tests/test-driver-custom-multitest-recheck.test
index 8bbcc7c..bd9e9d6 100755
--- a/tests/test-driver-custom-multitest-recheck.test
+++ b/tests/test-driver-custom-multitest-recheck.test
@@ -22,7 +22,7 @@
# and `parallel-tests-recheck-override.test'.
# Keep in sync with 'tap-recheck.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cp "$testsrcdir"/trivial-test-driver . \
diff --git a/tests/test-driver-custom-multitest-recheck2.test
b/tests/test-driver-custom-multitest-recheck2.test
index 0d254dc..9f43b77 100755
--- a/tests/test-driver-custom-multitest-recheck2.test
+++ b/tests/test-driver-custom-multitest-recheck2.test
@@ -21,7 +21,7 @@
# See also related tests `test-driver-custom-multitest-recheck.test' and
# `parallel-tests-recheck-override.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cp "$testsrcdir"/trivial-test-driver . \
diff --git a/tests/test-driver-custom-multitest.test
b/tests/test-driver-custom-multitest.test
index da15597..1380ea7 100755
--- a/tests/test-driver-custom-multitest.test
+++ b/tests/test-driver-custom-multitest.test
@@ -19,7 +19,7 @@
# only checks implementation details in Automake's custom test drivers
# support, but also serves as a "usability test" for our APIs.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cp "$testsrcdir"/trivial-test-driver . \
diff --git a/tests/test-driver-custom-no-extra-driver.test
b/tests/test-driver-custom-no-extra-driver.test
index 28c9a19..1196e77 100755
--- a/tests/test-driver-custom-no-extra-driver.test
+++ b/tests/test-driver-custom-no-extra-driver.test
@@ -18,7 +18,7 @@
# installed or referenced if it's not used, i.e., if the user has
# defined his own `*LOG_DRIVER' variables.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in <<'END'
diff --git a/tests/test-driver-custom-no-html.test
b/tests/test-driver-custom-no-html.test
index 37b93bc..970cf62 100755
--- a/tests/test-driver-custom-no-html.test
+++ b/tests/test-driver-custom-no-html.test
@@ -19,7 +19,7 @@
# for drivers that are not interested to support the .log -> HTML
# conversion offered by Automake.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/test-driver-custom-xfail-tests.test
b/tests/test-driver-custom-xfail-tests.test
index e68e04b..3c46237 100755
--- a/tests/test-driver-custom-xfail-tests.test
+++ b/tests/test-driver-custom-xfail-tests.test
@@ -16,7 +16,7 @@
# Custom test drivers: "abstract" XFAIL_TESTS support.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in <<'END'
diff --git a/tests/test-driver-custom.test b/tests/test-driver-custom.test
index 8305047..a6f8deb 100755
--- a/tests/test-driver-custom.test
+++ b/tests/test-driver-custom.test
@@ -16,7 +16,7 @@
# Custom test drivers: per-extension test drivers.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/test-driver-fail.test b/tests/test-driver-fail.test
index e1d2f9c..fdc7251 100755
--- a/tests/test-driver-fail.test
+++ b/tests/test-driver-fail.test
@@ -22,7 +22,7 @@
# (like our dummy one in this test) might leave around a test log even
# in case of internal failures.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in <<'END'
diff --git a/tests/test-driver-strip-vpath.test
b/tests/test-driver-strip-vpath.test
index 7187abb..3ba34ff 100755
--- a/tests/test-driver-strip-vpath.test
+++ b/tests/test-driver-strip-vpath.test
@@ -17,7 +17,7 @@
# Custom test drivers: check that the test name passed to the test
# driver has any VPATH prefix stripped.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
ocwd=`pwd` || fatal_ "cannot get current working directory"
diff --git a/tests/test-driver-trs-suffix-registered.test
b/tests/test-driver-trs-suffix-registered.test
index 7f6522a..4a5b195 100755
--- a/tests/test-driver-trs-suffix-registered.test
+++ b/tests/test-driver-trs-suffix-registered.test
@@ -20,7 +20,7 @@
# - .test if $(TEST_EXTENSIONS) is not defined
# - stuff in $(TEST_EXTENSIONS) otherwise
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
: > Makefile.am
diff --git a/tests/test-harness-vpath-rewrite.test
b/tests/test-harness-vpath-rewrite.test
index f19506c..9d61064 100755
--- a/tests/test-harness-vpath-rewrite.test
+++ b/tests/test-harness-vpath-rewrite.test
@@ -17,7 +17,7 @@
# Check that our concurrent test harness is not subject to spurious VPATH
# rewrites.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/test-log.test b/tests/test-log.test
index c25cb20..c83e20f 100755
--- a/tests/test-log.test
+++ b/tests/test-log.test
@@ -22,7 +22,7 @@
# - VERBOSE environment variable support
# Keep in sync with 'tap-log.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in <<END
diff --git a/tests/test-logs-repeated.test b/tests/test-logs-repeated.test
index 94dd7c8..5ab3461 100644
--- a/tests/test-logs-repeated.test
+++ b/tests/test-logs-repeated.test
@@ -20,7 +20,7 @@
# different test scripts don't end up sharing the same log file.
# (Automake itself is such a project, BTW ;-)
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in <<END
diff --git a/tests/test-metadata-global-log.test
b/tests/test-metadata-global-log.test
index a6f0999..ab43802 100755
--- a/tests/test-metadata-global-log.test
+++ b/tests/test-metadata-global-log.test
@@ -20,7 +20,7 @@
# with the use of the reStructuredText field `:copy-in-global-log:' in
# the associated `.trs' files.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/test-metadata-global-result.test
b/tests/test-metadata-global-result.test
index d20b249..f524328 100755
--- a/tests/test-metadata-global-result.test
+++ b/tests/test-metadata-global-result.test
@@ -18,7 +18,7 @@
# "global test result" in `*.trs' files, as documented in the automake
# manual.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/test-metadata-recheck.test b/tests/test-metadata-recheck.test
index 6a372f3..f3a3ef5 100755
--- a/tests/test-metadata-recheck.test
+++ b/tests/test-metadata-recheck.test
@@ -17,7 +17,7 @@
# Test the "make recheck" semantics for custom test drivers, as documented
# in the Automake manual.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/test-metadata-results.test b/tests/test-metadata-results.test
index 923f88f..11feea7 100755
--- a/tests/test-metadata-results.test
+++ b/tests/test-metadata-results.test
@@ -17,7 +17,7 @@
# Parallel testsuite harness: check APIs for the registering of test
# results in `*.trs' files, as documented in the automake manual.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/test-missing.test b/tests/test-missing.test
index a4ac179..4e9f286 100755
--- a/tests/test-missing.test
+++ b/tests/test-missing.test
@@ -18,7 +18,7 @@
# - non-existent scripts listed in TESTS get diagnosed
# See also related test 'test-missing2.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/test-missing2.test b/tests/test-missing2.test
index bc2979a..25d5173 100755
--- a/tests/test-missing2.test
+++ b/tests/test-missing2.test
@@ -19,7 +19,7 @@
# all the $(TEST_LOGS) have a dummy dependency.
# See also related test 'test-missing.test'.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/test-trs-basic.test b/tests/test-trs-basic.test
index 8a8c3c8..b615b18 100755
--- a/tests/test-trs-basic.test
+++ b/tests/test-trs-basic.test
@@ -18,7 +18,7 @@
# - creation and removal of `.trs' auxiliary files
# - check some internals regarding the use of `.trs' files.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in <<END
diff --git a/tests/test-trs-recover.test b/tests/test-trs-recover.test
index 9893424..fe12a4e 100755
--- a/tests/test-trs-recover.test
+++ b/tests/test-trs-recover.test
@@ -19,7 +19,7 @@
# This test is complex and tricky, but that's acceptable since we are
# testing semantics that are potentially complex and tricky.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in <<END
diff --git a/tests/test-trs-recover2.test b/tests/test-trs-recover2.test
index bc94b3b..fb9f924 100755
--- a/tests/test-trs-recover2.test
+++ b/tests/test-trs-recover2.test
@@ -17,7 +17,7 @@
# Check parallel harness features:
# - recovery from unreadable `.trs' files, in various scenarios
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in <<END
diff --git a/tests/tests-environment-and-log-compiler.test
b/tests/tests-environment-and-log-compiler.test
index eafc3bf..c639355 100755
--- a/tests/tests-environment-and-log-compiler.test
+++ b/tests/tests-environment-and-log-compiler.test
@@ -18,7 +18,7 @@
# by TESTS_ENVIRONMENT and AM_TESTS_ENVIRONMENT in LOG_COMPILER and
# LOG_FLAGS (for tests both with and without registered extensions).
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/tests-environment-backcompat.test
b/tests/tests-environment-backcompat.test
index 9578ca5..36cc642 100755
--- a/tests/tests-environment-backcompat.test
+++ b/tests/tests-environment-backcompat.test
@@ -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.
-parallel_tests=no
+am_parallel_tests=no
. ./defs || Exit 1
cat >> configure.in <<END
diff --git a/tests/tests-environment-fd-redirect.test
b/tests/tests-environment-fd-redirect.test
index b2b5ab4..855e342 100755
--- a/tests/tests-environment-fd-redirect.test
+++ b/tests/tests-environment-fd-redirect.test
@@ -26,7 +26,7 @@
# and the following CC:ed thread on bug-autoconf list:
# <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00002.html>
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
cat >> configure.in << 'END'
diff --git a/tests/testsuite-summary-checks.sh
b/tests/testsuite-summary-checks.sh
index a4de864..2a5685b 100755
--- a/tests/testsuite-summary-checks.sh
+++ b/tests/testsuite-summary-checks.sh
@@ -20,7 +20,7 @@
# testsuite output, packages with and without bug-report addresses,
# testsuites in subdirectories, ...)
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
case $use_colors in
diff --git a/tests/testsuite-summary-count-many.test
b/tests/testsuite-summary-count-many.test
index b0232c7..2621b29 100755
--- a/tests/testsuite-summary-count-many.test
+++ b/tests/testsuite-summary-count-many.test
@@ -19,7 +19,7 @@
# Incidentally, this test also checks that the testsuite summary doesn't
# give any bug-report address if it's not defined.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
for s in trivial-test-driver extract-testsuite-summary; do
diff --git a/tests/testsuite-summary-reference-log.test
b/tests/testsuite-summary-reference-log.test
index 7558b5f..eb21f8c 100755
--- a/tests/testsuite-summary-reference-log.test
+++ b/tests/testsuite-summary-reference-log.test
@@ -17,7 +17,7 @@
# Check that the global testsuite log file referenced in the testsuite
# summary and in the global testsuite log itself is correct.
-parallel_tests=yes
+am_parallel_tests=yes
. ./defs || Exit 1
mv configure.in configure.stub
diff --git a/tests/warning-groups-win-over-strictness.test
b/tests/warning-groups-win-over-strictness.test
index a291442..7e3f526 100755
--- a/tests/warning-groups-win-over-strictness.test
+++ b/tests/warning-groups-win-over-strictness.test
@@ -22,7 +22,7 @@
. ./defs || Exit 1
# We want complete control over automake options.
-AUTOMAKE=$original_AUTOMAKE
+AUTOMAKE=$am_original_AUTOMAKE
# Files required in gnu and/or gnits strictness.
touch README INSTALL NEWS AUTHORS ChangeLog COPYING THANKS
diff --git a/tests/warnings-override.test b/tests/warnings-override.test
index 728a7c0..aa7da67 100755
--- a/tests/warnings-override.test
+++ b/tests/warnings-override.test
@@ -24,7 +24,7 @@
. ./defs || Exit 1
# We want (almost) complete control over automake options.
-AUTOMAKE="$original_AUTOMAKE -Werror"
+AUTOMAKE="$am_original_AUTOMAKE -Werror"
cat > Makefile.am <<'END'
FOO := bar
diff --git a/tests/warnings-precedence.test b/tests/warnings-precedence.test
index 0f11669..f191c1a 100755
--- a/tests/warnings-precedence.test
+++ b/tests/warnings-precedence.test
@@ -21,7 +21,7 @@
. ./defs || Exit 1
# We want (almost) complete control over automake options.
-AUTOMAKE="$original_AUTOMAKE -Werror"
+AUTOMAKE="$am_original_AUTOMAKE -Werror"
cat > Makefile.am <<'END'
FOO := bar
diff --git a/tests/warnings-strictness-interactions.test
b/tests/warnings-strictness-interactions.test
index e2c7675..85669d7 100755
--- a/tests/warnings-strictness-interactions.test
+++ b/tests/warnings-strictness-interactions.test
@@ -21,7 +21,7 @@
. ./defs || Exit 1
# We want (almost) complete control over automake options.
-AUTOMAKE="$original_AUTOMAKE -Werror"
+AUTOMAKE="$am_original_AUTOMAKE -Werror"
cat > Makefile.am <<END
AUTOMAKE_OPTIONS =
diff --git a/tests/warnings-unknown.test b/tests/warnings-unknown.test
index db803a5..f1fa23e 100755
--- a/tests/warnings-unknown.test
+++ b/tests/warnings-unknown.test
@@ -19,7 +19,7 @@
. ./defs || Exit 1
# We want (almost) complete control over automake options.
-AUTOMAKE="$original_AUTOMAKE --foreign -Werror"
+AUTOMAKE="$am_original_AUTOMAKE --foreign -Werror"
cat > configure.in <<END
AC_INIT([$me], [1.0])
diff --git a/tests/warnings-win-over-strictness.test
b/tests/warnings-win-over-strictness.test
index 83fced7..a577dfe 100755
--- a/tests/warnings-win-over-strictness.test
+++ b/tests/warnings-win-over-strictness.test
@@ -20,7 +20,7 @@
. ./defs || Exit 1
# We want complete control over automake options.
-AUTOMAKE=$original_AUTOMAKE
+AUTOMAKE=$am_original_AUTOMAKE
ok ()
{
--
1.7.2.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {testsuite-work} tests defs: more namespace-safeness,
Stefano Lattarini <=