Merge branch 'maint'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 18 May 2012 12:31:36 +0000 (14:31 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 18 May 2012 12:31:36 +0000 (14:31 +0200)
* maint:
  tests: use 'parallel-tests' Automake option by default
  doc: fix location of Automake's own test-suite.log file
  yacc tests: avoid a spurious failure with Sun C++ 5.9
  self tests: cater for /bin/ksh symlinked to Zsh
  tests: fix spurious failures due to dpkg install-info

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
203 files changed:
Makefile.am
defs
defs-static.in
doc/automake.texi
gen-testsuite-part
syntax-checks.mk
t/README
t/am-tests-environment.sh
t/ax/tap-summary-aux.sh
t/ax/testsuite-summary-checks.sh
t/backcompat5.sh
t/check-concurrency-bug9245.sh
t/check-exported-srcdir.sh
t/check-fd-redirect.sh
t/check-no-test-driver.sh
t/check-subst-prog.sh
t/check-subst.sh
t/check-tests-in-builddir.sh
t/check.sh
t/check10.sh
t/check11.sh
t/check12.sh
t/check2.sh
t/check3.sh
t/check4.sh
t/check5.sh
t/check6.sh
t/check7.sh
t/check8.sh
t/color.sh
t/color2.sh
t/dejagnu.sh
t/dist-auxdir-many-subdirs.sh
t/distcheck-pr10470.sh
t/exeext4.sh
t/install-info-dir.sh
t/java-compile-run-flat.sh
t/java-compile-run-nested.sh
t/make-dryrun.tap
t/maken3.sh
t/parallel-tests-cmdline-override.sh
t/parallel-tests-console-output.sh
t/parallel-tests-driver-install.sh
t/parallel-tests-dry-run-1.sh
t/parallel-tests-dry-run-2.sh
t/parallel-tests-empty-testlogs.sh
t/parallel-tests-exeext.sh
t/parallel-tests-exit-statuses.sh
t/parallel-tests-extra-programs.sh
t/parallel-tests-fd-redirect-exeext.sh
t/parallel-tests-fd-redirect.sh
t/parallel-tests-fork-bomb.sh
t/parallel-tests-harderror.sh
t/parallel-tests-interrupt.tap
t/parallel-tests-log-compiler-1.sh
t/parallel-tests-log-compiler-2.sh
t/parallel-tests-log-compiler-example.sh
t/parallel-tests-log-override-1.sh
t/parallel-tests-log-override-2.sh
t/parallel-tests-log-override-recheck.sh
t/parallel-tests-many.sh
t/parallel-tests-no-color-in-log.sh
t/parallel-tests-no-spurious-summary.sh
t/parallel-tests-once.sh
t/parallel-tests-recheck-depends-on-all.sh
t/parallel-tests-reset-term.sh
t/parallel-tests-subdir.sh
t/parallel-tests-suffix-prog.sh
t/parallel-tests-suffix.sh
t/parallel-tests-trailing-bslash.sh
t/parallel-tests-unreadable.sh
t/parallel-tests.sh
t/parallel-tests10.sh
t/parallel-tests2.sh
t/parallel-tests3.sh
t/parallel-tests5.sh
t/parallel-tests6.sh
t/parallel-tests8.sh
t/parallel-tests9.sh
t/posixsubst-tests.sh
t/pr401.sh
t/pr401b.sh
t/pr401c.sh
t/self-check-env-sanitize.tap
t/self-check-reexec.tap
t/serial-tests.sh
t/tap-ambiguous-directive.sh
t/tap-autonumber.sh
t/tap-bad-prog.tap
t/tap-bailout-and-logging.sh
t/tap-bailout-leading-space.sh
t/tap-bailout-suppress-badexit.sh
t/tap-bailout-suppress-later-diagnostic.sh
t/tap-bailout-suppress-later-errors.sh
t/tap-bailout.sh
t/tap-basic.sh
t/tap-color.sh
t/tap-common-setup.sh
t/tap-deps.sh
t/tap-diagnostic-custom.sh
t/tap-diagnostic.sh
t/tap-doc.sh
t/tap-doc2.sh
t/tap-driver-stderr.sh
t/tap-empty-diagnostic.sh
t/tap-empty.sh
t/tap-escape-directive-2.sh
t/tap-escape-directive.sh
t/tap-exit.sh
t/tap-fancy.sh
t/tap-fancy2.sh
t/tap-global-log.sh
t/tap-global-result.sh
t/tap-log.sh
t/tap-merge-stdout-stderr.sh
t/tap-missing-plan-and-bad-exit.sh
t/tap-more.sh
t/tap-more2.sh
t/tap-msg0-bailout.sh
t/tap-msg0-directive.sh
t/tap-msg0-misc.sh
t/tap-msg0-planskip.sh
t/tap-msg0-result.sh
t/tap-negative-numbers.sh
t/tap-no-disable-hard-error.sh
t/tap-no-merge-stdout-stderr.sh
t/tap-no-spurious-numbers.sh
t/tap-no-spurious-summary.sh
t/tap-no-spurious.sh
t/tap-not-ok-skip.sh
t/tap-number-wordboundary.sh
t/tap-numbers-leading-zero.sh
t/tap-numeric-description.sh
t/tap-out-of-order.sh
t/tap-passthrough-exit.sh
t/tap-passthrough.sh
t/tap-plan-corner.sh
t/tap-plan-errors.sh
t/tap-plan-leading-zero.sh
t/tap-plan-malformed.sh
t/tap-plan-middle.sh
t/tap-plan-whitespace.sh
t/tap-plan.sh
t/tap-planskip-and-logging.sh
t/tap-planskip-badexit.sh
t/tap-planskip-bailout.sh
t/tap-planskip-case-insensitive.sh
t/tap-planskip-late.sh
t/tap-planskip-later-errors.sh
t/tap-planskip-unplanned-corner.sh
t/tap-planskip-unplanned.sh
t/tap-planskip-whitespace.sh
t/tap-planskip.sh
t/tap-realtime.sh
t/tap-recheck-logs.sh
t/tap-recheck.sh
t/tap-result-comment.sh
t/tap-signal.tap
t/tap-test-number-0.sh
t/tap-todo-skip-together.sh
t/tap-todo-skip-whitespace.sh
t/tap-todo-skip.sh
t/tap-unplanned.sh
t/tap-whitespace-normalization.sh
t/tap-with-and-without-number.sh
t/tap-xfail-tests.sh
t/test-driver-acsubst.sh
t/test-driver-cond.sh
t/test-driver-create-log-dir.sh
t/test-driver-custom-multitest-recheck.sh
t/test-driver-custom-multitest-recheck2.sh
t/test-driver-custom-multitest.sh
t/test-driver-custom-no-extra-driver.sh
t/test-driver-custom-xfail-tests.sh
t/test-driver-custom.sh
t/test-driver-fail.sh
t/test-driver-is-distributed.sh
t/test-driver-strip-vpath.sh
t/test-driver-trs-suffix-registered.sh
t/test-extensions-cond.sh
t/test-extensions.sh
t/test-harness-vpath-rewrite.sh
t/test-log.sh
t/test-logs-repeated.sh
t/test-metadata-global-log.sh
t/test-metadata-global-result.sh
t/test-metadata-recheck.sh
t/test-metadata-results.sh
t/test-missing.sh
t/test-missing2.sh
t/test-trs-basic.sh
t/test-trs-recover.sh
t/test-trs-recover2.sh
t/tests-environment-and-log-compiler.sh
t/tests-environment-backcompat.sh
t/tests-environment-fd-redirect.sh
t/tests-environment.sh
t/testsuite-recheck-speed.sh
t/testsuite-summary-count-many.sh
t/testsuite-summary-reference-log.sh
t/testsuite-summary-speed.sh
t/yacc-clean-cxx.sh
t/yacc-cxx.sh

index a6129c3..b2c4e6b 100644 (file)
@@ -333,7 +333,7 @@ AM_TESTS_ENVIRONMENT = \
     me \
     required \
     am_using_tap \
-    am_parallel_tests \
+    am_serial_tests \
     am_test_prefer_config_shell \
     am_original_AUTOMAKE \
     am_original_ACLOCAL \
diff --git a/defs b/defs
index fcdbb7d..24d3fd2 100644 (file)
--- a/defs
+++ b/defs
@@ -1087,10 +1087,10 @@ else
     # to append AC_OUTPUT.
     {
       echo "AC_INIT([$me], [1.0])"
-      if test x"$am_parallel_tests" = x"yes"; then
-        echo "AM_INIT_AUTOMAKE([parallel-tests])"
-      else
+      if test x"$am_serial_tests" = x"yes"; then
         echo "AM_INIT_AUTOMAKE"
+      else
+        echo "AM_INIT_AUTOMAKE([parallel-tests])"
       fi
       echo "AC_CONFIG_FILES([Makefile])"
     } >configure.ac || framework_failure_ "creating configure.ac skeleton"
index 44db309..1dfd8d3 100644 (file)
@@ -73,7 +73,7 @@ for var in \
   me \
   required \
   am_using_tap \
-  am_parallel_tests \
+  am_serial_tests \
   am_create_testdir \
   am_tap_implementation \
   am_test_prefer_config_shell \
index 0155853..5928291 100644 (file)
@@ -12920,7 +12920,7 @@ bug in the @uref{http://debbugs.gnu.org/@/automake, bug tracker}.  Be
 sure to include the versions of Autoconf and Automake that you use.
 Ideally, post a minimal @file{Makefile.am} and @file{configure.ac} that
 reproduces the problem you encounter.  If you have encountered test
-suite failures, please attach the @file{tests/test-suite.log} file.
+suite failures, please attach the @file{test-suite.log} file.
 
 @c ========================================================== Appendices
 
index a2db2d3..34e10a8 100755 (executable)
@@ -191,30 +191,19 @@ my %deps_extractor =
 my %test_generators =
   (
     #
-    # For each test script in the Automake testsuite that itself tests
-    # features of the TESTS automake interface, define a sibling test
-    # that does likewise, but with the option 'parallel-tests' enabled.
+    # Any test script in the Automake testsuite that checks features of
+    # the Automake-provided parallel testsuite harness might want to
+    # define a sibling test that does similar checks, but for the old
+    # serial testsuite harness instead.
     #
-    # A test is considered a candidate for sibling-generation if any
-    # Makefile.am generated by it define the TESTS variable.
+    # Individual tests can request the creation of such a sibling by
+    # making the string "try-with-serial-tests" appear any line of the
+    # test itself.
     #
-    # Individual tests can prevent the creation of such a sibling by
-    # explicitly setting the '$am_parallel_tests' variable to either "yes"
-    # or "no".  The rationale for this is that if the variable is set to
-    # "yes", the test already uses the 'parallel-tests' option, so that
-    # a sibling would be just a duplicate; while if the variable is set
-    # to "no", the test doesn't support, or is not meant to run with, the
-    # 'parallel-tests' option, and forcing it to do so in the sibling
-    # would likely cause a spurious failure.
-    #
-    parallel_testsuite_harness =>
+    serial_testsuite_harness =>
       {
-        line_matcher =>
-          qr/(?:^|\s)TESTS\s*=/,
-        line_rejecter =>
-          qr/(?:^[^#]*\bparallel-tests\b)|\bam_parallel_tests=/,
-        shell_setup_code =>
-          'am_parallel_tests=yes'
+        line_matcher     => qr/\btry-with-serial-tests\b/,
+        shell_setup_code => 'am_serial_tests=yes',
       },
     #
     # For each test script in the Automake testsuite that tests features
@@ -287,7 +276,7 @@ while (my ($k, $g) = each %test_generators)
   {
     my @wrapped_tests = grep {
       line_match ($g->{line_matcher}, $_)
-        && !line_match ($g->{line_rejecter}, $_)
+        && (!$g->{line_rejecter} || !line_match ($g->{line_rejecter}, $_))
     } @all_tests;
     foreach my $wrapped_test (@wrapped_tests)
       {
index f8d9f86..f388631 100644 (file)
@@ -213,10 +213,11 @@ sc_tests_make_without_am_makeflags:
 sc_tests_obsolete_variables:
        @vars=" \
          using_tap \
-         parallel_tests \
          test_prefer_config_shell \
          original_AUTOMAKE \
          original_ACLOCAL \
+         parallel_tests \
+         am_parallel_tests \
        "; \
        seen=""; \
        for v in $$vars; do \
@@ -226,7 +227,11 @@ sc_tests_obsolete_variables:
        done; \
        if test -n "$$seen"; then \
          for v in $$seen; do \
-           echo "Variable '$$v' is obsolete, use 'am_$$v' instead." 1>&2; \
+           case $$v in \
+             parallel_tests|am_parallel_tests) v2=am_serial_tests;; \
+             *) v2=am_$$v;; \
+           esac; \
+           echo "Variable '$$v' is obsolete, use '$$v2' instead." 1>&2; \
          done; \
          exit 1; \
        else :; fi
index 75dae9e..5f967d2 100644 (file)
--- a/t/README
+++ b/t/README
@@ -173,11 +173,16 @@ Do
   set-up of a test scenario, you can use the 'framework_fail_' function
   instead.
 
-  For tests that use the 'parallel-tests' Automake option, set the shell
-  variable 'am_parallel_tests' to "yes" before including ./defs.  For
-  tests that are *not* meant to work with the 'parallel-tests' Automake
-  option (these should be very very few), set the shell variable
-  'am_parallel_tests' to "no" before including ./defs.
+  For those tests checking the Automake-provided test harnesses that are
+  expected to work also when the 'serial-tests' Automake option is used
+  (thus causing the serial testsuite harness to be used in the generated
+  Makefile), place a line containing "try-with-serial-tests" somewhere
+  in the file.  That will ensure that the 'gen-testsuite-part' script
+  generates a sibling of that test which uses the serial harness instead
+  of the parallel one.  For those tests that are *not* meant to work with
+  the parallel testsuite harness at all (these should be very very few),
+  set the shell variable 'am_serial_tests' to "yes" before including
+  ./defs.
 
   Some tests in the Automake testsuite are auto-generated; those tests
   might have custom extensions, but their basename (that is, with such
index 3a6e755..f2931e6 100755 (executable)
@@ -17,7 +17,6 @@
 # parallel-tests: check AM_TESTS_ENVIRONMENT support, and its
 # interactions with TESTS_ENVIRONMENT.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 3848fd1..f5d1fbd 100644 (file)
@@ -16,7 +16,6 @@
 
 # Auxiliary script for tests on TAP support: checking testsuite summary.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 br='============================================================================'
index aed0000..0c8e98c 100644 (file)
@@ -20,7 +20,6 @@
 # testsuite output, packages with and without bug-report addresses,
 # testsuites in subdirectories, ...)
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 case $use_colors in
index 6bfb1c2..fda98f4 100755 (executable)
@@ -19,7 +19,7 @@
 # This script can also serve as mild stress-testing for Automake.
 # See also the similar test 'backcompat6.test'.
 
-am_parallel_tests=no
+am_serial_tests=yes
 am_create_testdir=empty
 . ./defs || Exit 1
 
index 064dce2..1cb8422 100755 (executable)
@@ -48,15 +48,11 @@ $MAKE -j1 || Exit 77
 for j in '' -j1 -j2; do
   $MAKE $j check && Exit 1
   TESTS=foo.test $MAKE $j -e check && Exit 1
-  if test x"$am_parallel_tests" = x"yes"; then
-    $MAKE $j recheck && Exit 1
-    TEST_LOGS=foo.log $MAKE $j -e check && Exit 1
-    rm -f test-suite.log
-    $MAKE $j test-suite.log && Exit 1
-    test -f test-suite.log || Exit 1
-  else
-    : # For shells with buggy 'set -e'.
-  fi
+  $MAKE $j recheck && Exit 1
+  TEST_LOGS=foo.log $MAKE $j -e check && Exit 1
+  rm -f test-suite.log
+  $MAKE $j test-suite.log && Exit 1
+  test -f test-suite.log || Exit 1
 done
 
 :
index 124269b..c6fda21 100755 (executable)
 # parallel-tests option enabled) exports the 'srcdir' value in the
 # environment of the tests.  This is documented in the manual.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 show_info ()
 {
-  if test x"$am_parallel_tests" = x"yes"; then
+  if test x"$am_serial_tests" != x"yes"; then
      cat foo.log
      cat test-suite.log
   else
index 5a64c22..618aa80 100755 (executable)
@@ -18,6 +18,7 @@
 # AM_TESTS_FD_REDIRECT.
 # See also related test 'parallel-tests-fd-redirect.test'.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
@@ -50,7 +51,7 @@ do_check ()
   cat stdout
   cat stderr >&2
   cat four
-  test x"$am_parallel_tests" != x"yes" || cat foo.log
+  test x"$am_serial_tests" = x"yes" || cat foo.log
   test $st -eq 0
   grep '[ /]foo\.test: foofoofoo$' stdout
   grep '[ /]foo\.test: barbarbar$' stderr
index cccc0ed..84ea325 100755 (executable)
@@ -18,7 +18,7 @@
 # installed or referenced when the 'parallel-tests' option is not
 # used.
 
-am_parallel_tests=no
+am_serial_tests=yes
 . ./defs || Exit 1
 
 echo 'TESTS = foo.test' > Makefile.am
index 30e8763..540c749 100755 (executable)
@@ -17,6 +17,7 @@
 # Check @substituted@ TESTS, some of which are also PROGRAMS.
 # See also sister test 'check-subst.test'.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 required='cc native'
 . ./defs || Exit 1
 
index 79d7526..ac8fe89 100755 (executable)
@@ -19,6 +19,7 @@
 # substituted names: this is necessary for parallel-tests.
 # See also sister test 'check-subst-prog.test'.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
@@ -32,7 +33,7 @@ TESTS = pass-script.test xfail-script.test @script_tests@
 XFAIL_TESTS = @xfail_tests@
 END
 
-if test "$am_parallel_tests" = yes; then
+if test x"$am_serial_tests" != x"yes"; then
   unindent >> Makefile.am <<'END'
     TEST_EXTENSIONS = .sh .test
     SH_LOG_COMPILER = $(SHELL)
@@ -51,7 +52,7 @@ cp pass-script.test subst-pass-script.sh
 cp xfail-script.test subst-xfail-script.sh
 chmod a+x pass-script.test xfail-script.test
 
-if test "$am_parallel_tests" != yes; then
+if test x"$am_serial_tests" = x"yes"; then
   chmod a+x subst-pass-script.sh subst-xfail-script.sh
 fi
 
@@ -72,7 +73,7 @@ for vpath in false : ; do
   $srcdir/configure
   $MAKE all
   $MAKE check
-  if test "$am_parallel_tests" = yes; then
+  if test x"$am_serial_tests" != x"yes"; then
     ls -l
     test -f pass-script.log
     test -f xfail-script.log
index 9f1fe4a..323c3bc 100755 (executable)
@@ -17,6 +17,7 @@
 # Check that the testsuite driver can find test in the srcdir as
 # well as in builddir, and that is prefers those in the builddir.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
@@ -55,26 +56,27 @@ $MAKE check >out 2>&1 || { cat out; Exit1; }
 cat out
 # The simple-tests driver does not strip VPATH components from
 # the name of the test, but the parallel-tests driver should.
-if test x"$am_parallel_tests" = x"yes"; then
-  grep '\.\./foo' out && Exit 1
-  grep '^PASS: foo.test *$' out
+if test x"$am_serial_tests" = x"yes"; then
+  grep '^PASS: .*foo\.test *$' out
 else
-  grep '^PASS: .*foo.test *$' out
+  grep '\.\./foo' out && Exit 1
+  grep '^PASS: foo\.test *$' out
 fi
-grep '^PASS: bar.test *$' out
+grep '^PASS: bar\.test *$' out
 
 rm -f test-suite.log foo.log bar.log
 
 FOO_EXIT_STATUS=1 $MAKE check >out 2>&1 && { cat out; Exit1; }
 cat out
-# See comments above.
-if test x"$am_parallel_tests" = x"yes"; then
-  grep '\.\./foo' out && Exit 1
-  grep '^FAIL: foo.test *$' out
+# The simple-tests driver does not strip VPATH components from
+# the name of the test, but the parallel-tests driver should.
+if test x"$am_serial_tests" = x"yes"; then
+  grep '^FAIL: .*foo\.test *$' out
 else
-  grep '^FAIL: .*foo.test *$' out
+  grep '\.\./foo' out && Exit 1
+  grep '^FAIL: foo\.test *$' out
 fi
-grep '^PASS: bar.test *$' out
+grep '^PASS: bar\.test *$' out
 
 rm -f test-suite.log foo.log bar.log
 
@@ -83,8 +85,8 @@ rm -f test-suite.log foo.log bar.log
 cp bar.test foo.test
 FOO_EXIT_STATUS=1 $MAKE check >out 2>&1 || { cat out; Exit1; }
 cat out
-grep '^PASS: foo.test *$' out
-grep '^PASS: bar.test *$' out
+grep '^PASS: foo\.test *$' out
+grep '^PASS: bar\.test *$' out
 
 # The tests in the builddir must be preferred also by "make dist".
 FOO_EXIT_STATUS=1 $MAKE distcheck
index c9ab0fa..1edd60f 100755 (executable)
 
 # Test Automake style tests.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 cat > Makefile.am << 'END'
 TESTS = frob.test
 END
 
-test x"$am_parallel_tests" != x"yes" || : > test-driver
-
-: > frob.test
+test x"$am_serial_tests" = x"yes" || : > test-driver
 
 $ACLOCAL
 $AUTOMAKE
index 3b3ee8b..9f436ad 100755 (executable)
@@ -17,7 +17,7 @@
 # Check singular and plural in test summaries.
 
 # This test only makes sense for the older serial testsuite driver.
-am_parallel_tests=no
+am_serial_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index e78da0f..fc1209c 100755 (executable)
@@ -16,6 +16,7 @@
 
 # Check skip summary.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
@@ -41,20 +42,20 @@ $AUTOMAKE -a
 
 env TESTS=skip $MAKE -e check >stdout || { cat stdout; Exit 1; }
 cat stdout
-if test x"$am_parallel_tests" = x"yes"; then
-  count_test_results total=1 pass=0 fail=0 skip=1 xfail=0 xpass=0 error=0
-else
+if test x"$am_serial_tests" = x"yes"; then
   grep '1.*passed' stdout && Exit 1
   : For shells with buggy 'set -e'.
+else
+  count_test_results total=1 pass=0 fail=0 skip=1 xfail=0 xpass=0 error=0
 fi
 
 env TESTS="skip skip2" $MAKE -e check >stdout || { cat stdout; Exit 1; }
 cat stdout
-if test x"$am_parallel_tests" = x"yes"; then
-  count_test_results total=2 pass=0 fail=0 skip=2 xfail=0 xpass=0 error=0
-else
+if test x"$am_serial_tests" = x"yes"; then
   grep '2.*passed' stdout && Exit 1
   : For shells with buggy 'set -e'.
+else
+  count_test_results total=2 pass=0 fail=0 skip=2 xfail=0 xpass=0 error=0
 fi
 
 :
index a21c6da..dbb3101 100755 (executable)
@@ -17,6 +17,7 @@
 # Test to make sure dejagnu tests, automake-style tests, and check-local
 # target can coexist.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 required=runtest
 . ./defs || Exit 1
 
@@ -118,8 +119,8 @@ for vpath in : false; do
 
   if $vpath; then
     srcdir=..
-    mkdir build_
-    cd build_
+    mkdir build
+    cd build
   else
     srcdir=.
   fi
@@ -136,7 +137,7 @@ for vpath in : false; do
   test -f spanner.log
   test -f spanner.sum
   # This checks will be run only by the autogenerated 'check12-p.test'.
-  if test x"$am_parallel_tests" = x"yes"; then
+  if test x"$am_serial_tests" != x"yes"; then
     test -f test-suite.log
     test -f a.log
     test -f b.log
@@ -168,7 +169,7 @@ for vpath in : false; do
 
   B_EXIT_STATUS=1 $MAKE check && Exit 1
   # This checks will be run only by the autogenerated 'check12-p.test'.
-  if test x"$am_parallel_tests" = x"yes"; then
+  if test x"$am_serial_tests" != x"yes"; then
     cat test-suite.log
     cat a.log
     cat b.log
@@ -192,7 +193,7 @@ for vpath in : false; do
   grep 'FAIL: test_hammer' hammer.sum
   grep 'FAIL:' spanner.sum && Exit 1
   # This checks will be run only by the autogenerated 'check12-p.test'.
-  if test x"$am_parallel_tests" = x"yes"; then
+  if test x"$am_serial_tests" != x"yes"; then
     cat test-suite.log
     cat a.log
     cat b.log
index 8a05c9c..73eb0b7 100755 (executable)
@@ -16,6 +16,7 @@
 
 # Test Automake style tests.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
@@ -43,9 +44,7 @@ echo.sh:
 CLEANFILES = echo.sh
 END
 
-if test x"$am_parallel_tests" = x"yes"; then
-  cp "$am_scriptdir/test-driver" .
-fi
+test x"$am_serial_tests" = x"yes" || cp "$am_scriptdir/test-driver" .
 
 $ACLOCAL
 $AUTOCONF
index 3edfd98..69b6a67 100755 (executable)
@@ -17,6 +17,7 @@
 # Make sure 'check:' and 'install:' honor $(BUILT_SOURCES).
 # PR/359.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 26548b3..78415e0 100755 (executable)
@@ -16,6 +16,7 @@
 
 # Make sure 'make -k check' processes all directories.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 31790f8..8865f3e 100755 (executable)
@@ -16,6 +16,7 @@
 
 # Test TESTS = $(check_PROGRAMS)
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 required='cc native'
 . ./defs || Exit 1
 
index b6f6a67..0f33f8d 100755 (executable)
@@ -17,6 +17,7 @@
 # Test for PR 400: XFAIL_TESTS delimited by TABs.
 # Also test that Solaris make VPATH rewriting is honored
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 574569b..54d2b2b 100755 (executable)
@@ -16,6 +16,7 @@
 
 # Check EXEEXT extension for XFAIL_TESTS.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 required=cc
 . ./defs || Exit 1
 
index 75a4bef..d33c002 100755 (executable)
@@ -16,6 +16,7 @@
 
 # Check subdir TESTS.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 required='cc native'
 . ./defs || Exit 1
 
index c9a1ab9..6f5c902 100755 (executable)
@@ -17,6 +17,7 @@
 # Test Automake TESTS color output, by forcing it.
 # Keep this in sync with the sister test 'color2.test'.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 esc='\e'
@@ -85,10 +86,10 @@ test_color ()
   cat stdout | grep "^${red}XPASS${std}: .*xpass"
   # The old serial testsuite driver doesn't distinguish between failures
   # and hard errors.
-  if test x"$am_parallel_tests" = x"yes"; then
-    cat stdout | grep "^${mgn}ERROR${std}: .*error"
-  else
+  if test x"$am_serial_tests" = x"yes"; then
     cat stdout | grep "^${red}FAIL${std}: .*error"
+  else
+    cat stdout | grep "^${mgn}ERROR${std}: .*error"
   fi
   :
 }
index 75f5034..b073d5c 100755 (executable)
@@ -17,6 +17,7 @@
 # Test Automake TESTS color output, using the expect(1) program.
 # Keep this in sync with the sister test 'color.test'.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 esc='\e'
@@ -115,10 +116,10 @@ test_color ()
   cat stdout | grep "^${red}XPASS${std}: .*xpass"
   # The old serial testsuite driver doesn't distinguish between failures
   # and hard errors.
-  if test x"$am_parallel_tests" = x"yes"; then
-    cat stdout | grep "^${mgn}ERROR${std}: .*error"
-  else
+  if test x"$am_serial_tests" = x"yes"; then
     cat stdout | grep "^${red}FAIL${std}: .*error"
+  else
+    cat stdout | grep "^${mgn}ERROR${std}: .*error"
   fi
   :
 }
index 14b118c..583158f 100755 (executable)
@@ -24,7 +24,7 @@ AUTOMAKE_OPTIONS = dejagnu
 TESTS = frob.test
 END
 
-test x"$am_parallel_tests" != x"yes" || : > test-driver
+test x"$am_serial_tests" = x"yes" || : > test-driver
 
 $ACLOCAL
 $AUTOMAKE
index db9aa94..f84514a 100755 (executable)
@@ -18,7 +18,6 @@
 # same config-aux files.
 
 am_create_testdir=empty
-am_parallel_tests=yes
 required=cc
 . ./defs || Exit 1
 
index 1b6a322..e4d8252 100755 (executable)
@@ -19,7 +19,6 @@
 # by a process (e.g., that is its "current working directory").
 # See automake bug#10470.
 
-am_parallel_tests=no
 . ./defs || Exit 1
 
 mkdir foo.d
index 298879d..d9099b6 100755 (executable)
@@ -17,6 +17,7 @@
 # Make sure $(EXEEXT) is appended to programs and to tests that are
 # programs, but not to @substitutions@.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index d8b32d8..12b2293 100755 (executable)
@@ -67,7 +67,15 @@ $MAKE info
 test -f foo.info
 
 if install-info --version; then
-  have_installinfo=yes
+  # Skip some checks even if 'install-info' is the one from dpkg, not
+  # the one from GNU info, as the former might try to create files in
+  # '/var/backups/', causing spurious failures like this for non-root
+  # users.
+  if install-info --version | $EGREP -i '(dpkg|debian) install-info'; then
+    have_installinfo=no
+  else
+    have_installinfo=yes
+  fi
 else
   have_installinfo=no
 fi
index 79083af..9f3c184 100755 (executable)
@@ -24,7 +24,7 @@
 # 'parallel-tests' driver.
 
 required='java javac'
-am_parallel_tests=no
+am_serial_tests=yes
 . ./defs || Exit 1
 
 echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.ac
index d4a7800..61727f7 100755 (executable)
@@ -25,7 +25,6 @@
 # of the older non-parallel 'simple-tests' driver.
 
 required='java javac'
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.ac
index 3769205..2172124 100755 (executable)
@@ -16,7 +16,6 @@
 
 # Check that $(am__make_dryrun) works as expected.
 
-am_parallel_tests=yes # Avoid generation of a useless wrapper test.
 . ./defs || Exit 1
 
 plan_ 14
index 2018549..832bdcf 100755 (executable)
@@ -24,6 +24,7 @@
 # This test exercises the GCS-mandated targets (except for dist)
 # as well as tags, TAGS.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 # Does $MAKE support the '.MAKE' special target?
index 86b0c94..5c48640 100755 (executable)
@@ -17,7 +17,6 @@
 # Check that we can use indirections when overriding TESTS and
 # TEST_LOGS from the command line.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index ac43b25..5a78efd 100755 (executable)
@@ -17,7 +17,6 @@
 # parallel-tests: some checks on console output about testsuite
 # progress.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index b538799..fcfa38d 100755 (executable)
@@ -17,7 +17,6 @@
 # Check that auxiliary script 'test-driver' gets automatically installed
 # in the correct directory by 'parallel-tests' option.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 : Try first with parallel-tests defined in AM_INIT_AUTOMAKE.
index b094c18..6fdcb98 100755 (executable)
@@ -17,7 +17,6 @@
 # Check parallel-tests interactions with "make -n".
 # See also sister test 'parallel-tests-dry-run-2.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 echo AC_OUTPUT >> configure.ac
index 0d13677..20ccb5d 100755 (executable)
@@ -17,7 +17,6 @@
 # Check parallel-tests interactions with "make -n".
 # See also sister test 'parallel-tests-dry-run-1.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 0ea6db8..619eae5 100755 (executable)
@@ -18,7 +18,6 @@
 # - empty TESTS
 # - empty TEST_LOGS
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index e93f5f1..5a3af46 100755 (executable)
@@ -17,7 +17,6 @@
 # parallel-tests:
 #   - check2.am and interaction with $(EXEEXT)
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 688ff84..90583d5 100755 (executable)
@@ -17,7 +17,6 @@
 # Check parallel-tests features: normal and special exit statuses
 # in the test scripts.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index d95d184..c9d13da 100755 (executable)
@@ -18,7 +18,6 @@
 # (or even be) $(EXTRA_PROGRAMS).
 
 required='cc native'
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 56d7f59..5683658 100755 (executable)
@@ -22,7 +22,6 @@
 # sister test 'parallel-tests-fd-redirect.test'.
 
 required='cc native'
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index cf7acce..d2dba94 100755 (executable)
@@ -20,7 +20,6 @@
 # check for tests that are binary executables.
 # See also the more generic test 'check-fd-redirect.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index ceeeabe..108d6ea 100755 (executable)
@@ -18,7 +18,6 @@
 #  - If $(TEST_SUITE_LOG) is in $(TEST_LOGS), we get a diagnosed
 #    error, not a make hang or a system freeze.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 # We don't want localized error messages from make, since we'll have
index 7b66251..fc7a3c3 100755 (executable)
@@ -16,7 +16,6 @@
 
 # Check parallel-tests features: DISABLE_HARD_ERRORS
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 39a04a7..afc1956 100755 (executable)
@@ -19,7 +19,6 @@
 # but we couldn't find a better way to deal with inter-processes
 # signals and the whole process-synchronization mess.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 plan_ 16
index 77bdac4..1f16d9f 100755 (executable)
@@ -19,7 +19,6 @@
 #   and xxx_LOG_FLAGS), also with AC_SUBST'd stuff.
 # See also related test 'parallel-tests-log-compiler-2.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 7443e26..72fba68 100755 (executable)
@@ -19,7 +19,6 @@
 #   and xxx_LOG_FLAGS), when some tests are PROGRAMS.
 # See also related test 'parallel-tests-log-compiler-1.test'.
 
-am_parallel_tests=yes
 required='cc native'
 . ./defs || Exit 1
 
index 8b45758..60dd7bd 100755 (executable)
@@ -17,7 +17,6 @@
 # Test the example of usage of generic and extension-specific
 # LOG_COMPILER and LOG_FLAGS given in the manual.
 
-am_parallel_tests=yes
 required=python
 . ./defs || Exit 1
 
index f76d193..55f6082 100755 (executable)
@@ -16,7 +16,6 @@
 
 # Check parallel-tests features: runtime redefinition of $(TEST_SUITE_LOG).
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<'END'
index ca0b59f..eccefcc 100755 (executable)
@@ -18,7 +18,6 @@
 #  - $(TEST_SUITE_LOG) and $(TESTS)
 #  - $(TEST_SUITE_LOG) and $(TEST_LOGS)
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<'END'
index c7c1b2b..5fc39a4 100755 (executable)
@@ -17,7 +17,6 @@
 # Check parallel-tests features: runtime redefinition of $(TEST_SUITE_LOG)
 # for the recheck target.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<'END'
index a09dbe5..65db6e6 100755 (executable)
@@ -18,7 +18,6 @@
 # an exceeded command line length when there are many tests.
 # For automake bug#7868.  This test is currently expected to fail.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 17115b9..69414f7 100755 (executable)
@@ -16,7 +16,6 @@
 
 # Colorized output from the testsuite report shouldn't end up in log files.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 esc='\e'
index 62b4ef6..6400b3b 100755 (executable)
@@ -17,7 +17,6 @@
 # Check that ':test-results:' directives in test scripts' output doesn't
 # originate spurious results in the testsuite summary.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 53ee677..51912fb 100755 (executable)
@@ -18,7 +18,6 @@
 # clean directory.  An early implementation of the '.trs' intermediate
 # files incurred a similar problem.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 6c9e4cb..9464a36 100755 (executable)
@@ -17,7 +17,6 @@
 # The parallel-tests 'recheck' target must depend on the 'all' target.
 # See automake bug#11252.
 
-am_parallel_tests=yes
 required='cc native'
 . ./defs || Exit 1
 
index 53e542c..cf9fb6c 100755 (executable)
@@ -17,7 +17,6 @@
 # Check that the parallel-tests driver correctly handle overrides of the
 # TERM variable by either TESTS_ENVIRONMENT and AM_TESTS_ENVIRONMENT.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 esc='\e['
index 6848edb..2698a53 100755 (executable)
@@ -17,7 +17,6 @@
 # Check that the parallel-tests driver creates parent directories for
 # the log files when needed.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index abd4a5c..28dd349 100755 (executable)
@@ -18,7 +18,6 @@
 # - suffix rules, with PROGRAMS involved
 # See also sister test 'parallel-tests-suffix.test'.
 
-am_parallel_tests=yes
 required='cc native'
 . ./defs || Exit 1
 
index bd72d0d..9e9e843 100755 (executable)
@@ -18,7 +18,6 @@
 # - suffix rules
 # See also sister test 'parallel-tests-suffix-prog.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 4b3bdf8..1291764 100755 (executable)
@@ -19,7 +19,6 @@
 # older bash versions (e.g., bash 2.05b).
 # See automake bug#10436.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 echo AC_OUTPUT >> configure.ac
index 7ddb9db..98591e6 100755 (executable)
@@ -17,7 +17,6 @@
 # Check that the testsuite driver copes well with unreadable '.log'
 # and '.trs' files.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 : > t
index 891d7bd..459a24d 100755 (executable)
@@ -23,7 +23,6 @@
 #  - TEST_LOGS redefinition at runtime
 #  - RECHECK_LOGS redefinition at runtime
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 2396482..9746024 100755 (executable)
@@ -18,7 +18,6 @@
 # - trailing whitespace in TESTS
 # GNU make 3.80 may expand trailing white space to '.log'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 73daf43..d54b9e8 100755 (executable)
@@ -20,7 +20,6 @@
 # FIXME: the features tested by this script has been moved in contrib.
 # FIXME: We should move this script accordingly.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 # Try the variants that are tried in check-html.am.
index 98467e6..8e3be0e 100755 (executable)
@@ -17,7 +17,6 @@
 # Check parallel-tests features:
 # - concurrent parallel execution
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 case $MAKE in
index 9f0a966..bb5a876 100755 (executable)
@@ -20,7 +20,6 @@
 # Actually, this test doesn't ensure that things happen concurrently.
 # It merely serves as demonstration.  :-)
 
-am_parallel_tests=yes
 required='cc native GNUmake'
 . ./defs || Exit 1
 
index eee6538..46b455c 100755 (executable)
@@ -19,7 +19,6 @@
 # BSD make will expand '$(TESTS:=.log)' to '.log' unless overridden.
 # See parallel-tests10.test for a similar issue.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 cat >> configure.ac << 'END'
 AC_OUTPUT
index 8e35b6b..7363929 100755 (executable)
@@ -24,7 +24,6 @@
 #       manual for the ugliness in this area, when VPATH comes into
 #       play.  :-/
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index f22be8d..42d0e2d 100755 (executable)
@@ -17,7 +17,6 @@
 # Check parallel-tests features:
 # - recheck
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 27a451d..a51176b 100755 (executable)
@@ -17,6 +17,7 @@
 # Test that POSIX variable expansion '$(var:str=rpl)' works when used
 # with the TESTS special variable.
 
+# For gen-testsuite-part: ==> try-with-serial-tests <==
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index a143498..849ee5f 100755 (executable)
@@ -17,7 +17,6 @@
 # Check support for AC_CONFIG_LIBOBJ_DIR vs LIBOBJS.
 # (pr401b.test and pr401c.test do the same for LTLIBOBJS and ALLOCA)
 
-am_parallel_tests=no
 required=cc
 . ./defs || Exit 1
 
@@ -83,7 +82,7 @@ cp "$am_scriptdir/ar-lib" . || fatal_ "fetching auxiliary script 'ar-lib'"
 
 $ACLOCAL
 $AUTOCONF
-$AUTOMAKE
+$AUTOMAKE -a
 ./configure
 $MAKE distcheck
 
index 3d15671..382d118 100755 (executable)
@@ -17,7 +17,6 @@
 # Check support for AC_CONFIG_LIBOBJ_DIR vs LTLIBOBJS.
 # (pr401.test and pr401c.test do the same for LIBOBJS and ALLOCA)
 
-am_parallel_tests=no
 required='cc libtoolize'
 . ./defs || Exit 1
 
index 1f238f6..12afade 100755 (executable)
 # Check support for AC_CONFIG_LIBOBJ_DIR vs ALLOCA.
 # (pr401.test and pr401b.test do the same for LIBOBJS and LTLIBOBJS)
 
-am_parallel_tests=no
 required=cc
 . ./defs || Exit 1
 
 mkdir lib src
 
-ac_cv_func_alloca_works=no
-export  ac_cv_func_alloca_works
+ac_cv_func_alloca_works=no; export ac_cv_func_alloca_works
 
 cat >lib/alloca.c <<'EOF'
 const char *feep (void)
@@ -85,7 +83,7 @@ cp "$am_scriptdir/ar-lib" . || fatal_ "fetching auxiliary script 'ar-lib'"
 
 $ACLOCAL
 $AUTOCONF
-$AUTOMAKE
+$AUTOMAKE -a
 ./configure
 $MAKE distcheck
 
index bc78186..c6ac980 100755 (executable)
@@ -29,7 +29,7 @@ plan_ 18 # Two times the number of variable names in $vars.
 vars='
   me
   required
-  am_parallel_tests
+  am_serial_tests
   am_using_tap
   am_create_testdir
   am_tap_implementation
index 7b91008..e19a681 100755 (executable)
@@ -48,7 +48,12 @@ for non_bash_shell in \
 do
   test "$non_bash_shell" = : && break
   $non_bash_shell -c 'exit 0' || continue
-  $non_bash_shell -c 'test -n "$BASH_VERSION"' && continue
+  # Be sure to reject also any shell that is Zsh "in disguise" (as can
+  # be found on some Debian systems, where /bin/ksh can be symlinked to
+  # /bin/zsh4).  This is required because our testsuite does not support
+  # older versions of Zsh, and that has caused spurious failures in the
+  # past.
+  $non_bash_shell -c 'test -n "$ZSH_VERSION$BASH_VERSION"' && continue
   break
 done
 
index 680513f..4ec4710 100755 (executable)
@@ -16,8 +16,6 @@
 
 # Option 'serial-tests'.
 
-# To avoid useless generation of a sibling test.
-am_parallel_tests=yes
 am_create_testdir=empty
 . ./defs || Exit 1
 
@@ -38,7 +36,7 @@ has_parallel_tests ()
 
 mkdir one two
 
-cat >> one/configure.ac <<END
+cat > one/configure.ac <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE([serial-tests])
 AC_CONFIG_FILES([Makefile])
@@ -46,7 +44,7 @@ END
 
 echo 'TESTS = foo.test bar.test' > one/Makefile.am
 
-cat >> two/configure.ac <<END
+cat > two/configure.ac <<END
 AC_INIT([$me], [2.0])
 AC_CONFIG_AUX_DIR([config])
 AM_INIT_AUTOMAKE([parallel-tests])
index 32b1b80..75a259c 100755 (executable)
@@ -18,7 +18,6 @@
 #  - handling of "ambiguous" TODO and SKIP directives
 # See also related test 'tap-todo-skip-together.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 4e88f3d..8771ddf 100755 (executable)
@@ -20,7 +20,6 @@
 #  - test results without number get automatically numbered in the
 #    console progress output
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 580e7d3..82cf4e4 100755 (executable)
@@ -18,7 +18,6 @@
 #  - missing, unreadable, or not-executable test scripts cause proper
 #    error reports
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 fetch_tap_driver
index cc95d98..e8e3756 100755 (executable)
@@ -18,7 +18,6 @@
 #  - even after a "Bail out!" directive, all input is still copied in
 #    the log file
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 94084d4..bd0d1fc 100755 (executable)
@@ -20,7 +20,6 @@
 # perl implementation of the Automake TAP driver, but expect the latter,
 # "more modern" behaviour in our awk TAP driver.
 
-am_parallel_tests=yes
 am_tap_implementation=shell
 . ./defs || Exit 1
 
index 1962639..c7e55db 100755 (executable)
@@ -18,7 +18,6 @@
 #  - A "Bail out!" directive causes the driver to ignore the exit
 #    status of the test script.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 tests='exit.test exit127.test sighup.test sigterm.test'
index 9bc29de..bff4d64 100755 (executable)
@@ -18,7 +18,6 @@
 #  - A "Bail out!" directive causes the driver to ignore any TAP
 #    diagnostic message in the rest of the following TAP stream.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index e6cc6c2..ff83887 100755 (executable)
@@ -18,7 +18,6 @@
 #  - A "Bail out!" directive causes the driver to ignore any TAP
 #    result or error in the rest of the following TAP stream.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 0def87e..317eaa2 100755 (executable)
@@ -17,7 +17,6 @@
 # Basic TAP test protocol support:
 #  - "Bail out!" magic
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 3d6d8fe..c19c326 100755 (executable)
@@ -24,7 +24,6 @@
 # Note that some of the features checked here are checked in other
 # test cases too, usually in a more thorough and detailed way.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 fetch_tap_driver
index b803306..6a91f06 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - colorization of TAP results and diagnostic messages
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 esc='\e'
index b14099a..8400da0 100755 (executable)
@@ -16,7 +16,6 @@
 
 # Auxiliary test to set up common data used by many tests on TAP support.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << END
index 5049171..6ebe0f9 100755 (executable)
@@ -17,7 +17,6 @@
 # Basic TAP test protocol support:
 #  - dependencies between test scripts
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat > Makefile.am << 'END'
index d3f28a5..c90f46f 100755 (executable)
@@ -18,7 +18,6 @@
 #  - option '--diagnostic-string' to customize the string introducing
 #    TAP diagnostics
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 fetch_tap_driver
index 31f5df6..c849d65 100755 (executable)
@@ -18,7 +18,6 @@
 #  - diagnostic messages (TAP lines with leading "#")
 #  - flags '--comments' and '--no-comments' of the TAP test driver
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 46b3b51..22d542f 100755 (executable)
@@ -17,7 +17,6 @@
 # Check that an example given in the documentation really works.
 # See section "Simple Tests" subsection "Script-based Testsuites".
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 fetch_tap_driver
index 2232712..0607112 100755 (executable)
@@ -19,7 +19,6 @@
 # with the Automake test harness".
 
 am_create_testdir=empty
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat > Makefile.am <<'END'
index 879d051..bb54ebf 100755 (executable)
@@ -18,7 +18,6 @@
 #  - error messages from awk/shell/perl goes to the console
 
 required=non-root
-am_parallel_tests=yes
 am_create_testdir=empty
 . ./defs || Exit 1
 
index 1a8a99b..e3f1e15 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - empty diagnostic messages are discarder
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 4d3bfda..bad40ed 100755 (executable)
@@ -18,7 +18,6 @@
 #  - empty TAP input
 #  - blank TAP input
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 595c384..1c72f79 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - "escape" TODO and SKIP directives (by escaping the "#" character)
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 8b24251..6067af2 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - "escape" TODO and SKIP directives (by escaping the "#" character)
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index abc1ace..2717976 100755 (executable)
@@ -19,7 +19,6 @@
 #  - the '--ignore-exit' option causes the TAP test driver to ignore
 #    exit statuses of the test scripts.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 echo TESTS = > Makefile.am
index 6815ac5..846a9d0 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support: some unusual forms for valid TAP input.
 # See also related test 'tap-fancy2.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index bb51d54..6ab67c9 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support: more unusual forms for valid TAP input.
 # See also related test 'tap-fancy.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 69dc5b0..29e582c 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - which log files get copied in the global log?
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 78d5c9f..30215c7 100755 (executable)
@@ -18,7 +18,6 @@
 #  - which global test result derives from different test results
 #    mixed in a single script?
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index ca564e1..5faf838 100755 (executable)
@@ -22,7 +22,6 @@
 #  - VERBOSE environment variable support
 # Keep in sync with 'test-log.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat > Makefile.am << 'END'
index 351b10d..bca96a2 100755 (executable)
@@ -18,7 +18,6 @@
 #  - The Automake TAP driver has an option that instruct it to read TAP
 #    input also from the stderr of the test command, not only its stdout.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 fetch_tap_driver
index e1ea4fd..31a702c 100755 (executable)
@@ -19,7 +19,6 @@
 #    plan, then the driver reports both "missing plan" and "exited with
 #    non-zero status" errors.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat > foo.test <<END
index d275bd9..7970d7f 100755 (executable)
@@ -24,7 +24,6 @@
 #    correct test script(s)
 #  - "make distcheck" works
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 fetch_tap_driver
index 3cefd58..b34e3c1 100755 (executable)
@@ -20,7 +20,6 @@
 #  - interactions with 'check_*' variables
 
 required='cc native'
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 fetch_tap_driver
index 115ffcd..b9ef141 100755 (executable)
@@ -19,7 +19,6 @@
 #    of a "plan with skip" TAP plan
 # generally true!
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 04d3790..cbd2fce 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - literal string "0" as a TODO or SKIP message
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 6a515a8..06f400b 100755 (executable)
@@ -18,7 +18,6 @@
 #  - literal "0" and "0.0" in a test description and a TODO/SKIP message
 #    at the same time
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 60aa5fe..7f435e9 100755 (executable)
@@ -18,7 +18,6 @@
 #  - literal strings "0" and "0.0" as the reason of the skip in a "TAP
 #    plan with skip" (i.e., "1..0 # SKIP ...").
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 8c464c4..a2cc0a5 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - the string "0" as a test description
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 67ecb1e..11661a1 100755 (executable)
@@ -18,7 +18,6 @@
 #  - don't spuriously recognize negative TAP result numbers, but correctly
 #    interpret them as test descriptions instead
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index c95e20e..5fa587d 100755 (executable)
@@ -18,7 +18,6 @@
 #  - "Bail out!" magic and TAP parse errors are not disabled nor turned
 #    into simple failures by the definition DISABLE_HARD_ERRORS.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat > Makefile.am << 'END'
index 0236ef8..eb6b080 100755 (executable)
@@ -18,7 +18,6 @@
 #  - By default, TAP input is only from the stdout (and not the stderr)
 #    of the test command.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat > Makefile.am << 'END'
index 2fc993e..4cdace0 100755 (executable)
@@ -18,7 +18,6 @@
 #  - we shouldn't spuriously recognize as TAP result numbers what it
 #    not, even if it seems pretty close
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 8da15e8..a6437d8 100755 (executable)
@@ -18,7 +18,6 @@
 #  - ':test-results:' directives in test scripts' output doesn't
 #    originate spurious results in the testsuite summary
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index ac6e668..b9bca21 100755 (executable)
@@ -18,7 +18,6 @@
 #  - don't spuriously recognize lines that are "almost" TAP lines as
 #    real TAP lines
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 8cfffe2..f52127c 100755 (executable)
@@ -18,7 +18,6 @@
 #  - a "not ok # SKIP" line should count as a failure, for consistency
 #    with the prove(1) utility.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 7aa2c7f..324adb6 100755 (executable)
@@ -18,7 +18,6 @@
 #  - TAP result numbers terminated by a non-whitespace "word boundary"
 #    character are recognized
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 345b31f..bbd0d0e 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - how does TAP result numbers with leading zero fares?
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index b2f54f3..cd220a7 100755 (executable)
@@ -16,7 +16,6 @@
 
 # TAP result lines whose description is a number.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index d9f36a2..9e3d755 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - out-of-order test results
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 75ce5f1..6014cc5 100755 (executable)
@@ -19,7 +19,6 @@
 #    log file
 # See also related test 'tap-passthrough.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat > Makefile.am << 'END'
index da05b1b..aa9fe53 100755 (executable)
@@ -20,7 +20,6 @@
 #  - TAP errors are reported in the log file too
 # See also related test 'tap-passthrough-exit.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 weirdchars=\''"\$@!&()[]<>#;,:.^?*/'
index 3b9cd1f..601d5b7 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - some corner cases for TAP plan
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 1b74059..e0f6272 100755 (executable)
@@ -23,7 +23,6 @@
 # and 'tap-skip-whole-badcount.test'.  More checks about corner-cases
 # in TAP plans are performed in 'tap-plan-corner.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index bb45f31..949c251 100755 (executable)
@@ -19,7 +19,6 @@
 #  - TAP "SKIP" plans with multiple zeroes, as in "1..00 # SKIP"
 # This is consistent with the behaviour of the 'prove' utility.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index c8d2cdc..8aca466 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support: a malformed TAP plan is not recognized.  The checks in
 # here should be consistent with the behaviour of the 'prove' utility.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 0775f10..1c752fc 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - test plan preceding and/or following non-result TAP lines
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 7bdb4dc..a117fe0 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - plan line with trailing whitespace is recognized and handled correctly
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index d85a3a2..185658d 100755 (executable)
@@ -18,7 +18,6 @@
 #  - test scripts with the test plan at the beginning
 #  - test scripts with the test plan at the end
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 48b3e12..cd64623 100755 (executable)
@@ -18,7 +18,6 @@
 #  - interactions between "TAP plan with SKIP" and logging of earlier or
 #    later TAP or non-TAP text
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index fbb3b56..58ce0e7 100755 (executable)
@@ -18,7 +18,6 @@
 #  - an exit status != 0 of a test script causes an hard error, even if
 #    the last line of output is a "SKIP plan" (e.g., "1..0 # SKIP").
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 echo TESTS = one.test two.test > Makefile.am
index 7fb72e9..351aaba 100755 (executable)
@@ -18,7 +18,6 @@
 #  - a "Bail out!" directive causes an hard error, even if coming after
 #    a "SKIP plan" (e.g., "1..0 # SKIP").
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index b26701c..9de6bc5 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - "SKIP" keyword in a TAP plan is case-insensitive
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index f89a55d..e0d3513 100755 (executable)
@@ -18,7 +18,6 @@
 #  - the special "plan with SKIP" can also be used "late" in the TAP
 #    stream, i.e., preceded by non-TAP output or TAP diagnostic.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index a73dbce..7bf3cb1 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - TAP errors following a "TAP plan with SKIP" are still diagnosed.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 6dff7ac..ead8613 100755 (executable)
@@ -18,7 +18,6 @@
 #  - test results seen in a TAP stream that has a "plan with SKIP" are
 #    flagged as errors, even if all of them are "SKIP" results.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 4aeb4de..cfb1c60 100755 (executable)
@@ -19,7 +19,6 @@
 #    been seen is an error
 #  - any test result following a "plan with skip" is an error.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index a4dae99..4640ee5 100755 (executable)
@@ -18,7 +18,6 @@
 #  - normalization of whitespace in console testsuite progress associated
 #    with a SKIP directive in the TAP plan
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 97ebd0c..142afd7 100755 (executable)
@@ -17,7 +17,6 @@
 # Basic TAP test protocol support:
 #  - special plan format to skip all the tests in a script
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 51f7bba..d874b0c 100755 (executable)
@@ -22,7 +22,6 @@
 # children, and is pretty hacky and complex; is there a better way to
 # accomplish the checks done here?
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >expect-check <<'END'
index 53b2370..7fb2b80 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 # - RECHECK_LOGS
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat > Makefile.am << 'END'
index 4b120a5..98a960e 100755 (executable)
@@ -17,7 +17,6 @@
 # Test the 'recheck' target for TAP test protocol.
 # Keep in sync with 'test-driver-custom-multitest-recheck.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 fetch_tap_driver
index 7162df0..21bc810 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - non-directive comments in TAP results are kept verbatim
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index cf5c945..e23deea 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - a test script terminated by a signal causes an hard error
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 fetch_tap_driver
index cf75cef..8faa9c0 100755 (executable)
@@ -18,7 +18,6 @@
 #  - a test result numbered as 0 is to be considered out-of-order
 # This is consistent with the behaviour of the 'prove' utility.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 if test $am_tap_implementation = perl; then
index e911532..31580ca 100755 (executable)
@@ -18,7 +18,6 @@
 #  - TODO and SKIP directives on the same line: the first one wins
 # See also related test 'tap-ambiguous-directive.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 9d7afb9..d36aa13 100755 (executable)
@@ -18,7 +18,6 @@
 #  - normalization of whitespace in console testsuite progress associated
 #    with TODO and SKIP directives
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index e261d57..62206ab 100755 (executable)
@@ -23,7 +23,6 @@
 #  - the reasons for TODO and SKIP, if present, are nicely printed in
 #    the testsuite progress output
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 252e946..e8d9dad 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP support:
 #  - unplanned tests are properly reported as errors
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 2274674..a43d29a 100755 (executable)
@@ -20,7 +20,6 @@
 # force us to tweak dozens of other tests (hopefully).
 # See also related test 'tap-todo-skip-whitespace.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat > Makefile.am << 'END'
index fc795f6..82889c2 100755 (executable)
@@ -19,7 +19,6 @@
 #  - tests without explicit number get automatically numbered in the
 #    testsuite progress output on console
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 6107792..27c1804 100755 (executable)
@@ -17,7 +17,6 @@
 # TAP and $(XFAIL_TESTS): test results without directives are turned from
 # PASS to XPASS and from FAIL to XFAIL; other results are unchanged.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 . "$am_testauxdir"/tap-setup.sh || fatal_ "sourcing tap-setup.sh"
index 7df66ae..e384ac7 100755 (executable)
@@ -17,7 +17,6 @@
 # parallel-tests:
 #  - LOG_DRIVER variables can be AC_SUBST'd
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 mkdir test-drivers
index ac0b3f1..5538105 100755 (executable)
@@ -18,7 +18,6 @@
 #   - Automake can correctly handle conditionals contents for the
 #     LOG_DRIVER variables.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cp "$am_testauxdir"/trivial-test-driver . \
index bfca0b9..dc8e681 100755 (executable)
@@ -18,7 +18,6 @@
 # e.g., 'sub/foo.log'), the Automake test harness must ensure that
 # directory exists before calling any custom test driver.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 9b4f5df..a42e0d0 100755 (executable)
@@ -22,7 +22,6 @@
 # and 'parallel-tests-recheck-override.test'.
 # Keep in sync with 'tap-recheck.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cp "$am_testauxdir"/trivial-test-driver . \
index 3e7add6..5ceb339 100755 (executable)
@@ -21,7 +21,6 @@
 # See also related tests 'test-driver-custom-multitest-recheck.test' and
 # 'parallel-tests-recheck-override.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cp "$am_testauxdir"/trivial-test-driver . \
index c7959cd..c660ec2 100755 (executable)
@@ -19,7 +19,6 @@
 # only checks implementation details in Automake's custom test drivers
 # support, but also serves as a "usability test" for our APIs.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cp "$am_testauxdir"/trivial-test-driver . \
index 31000af..4d7367d 100755 (executable)
@@ -18,7 +18,6 @@
 # installed or referenced if it's not used, i.e., if the user has
 # defined his own '*LOG_DRIVER' variables.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<'END'
index 9a4e3fe..14568c0 100755 (executable)
@@ -16,7 +16,6 @@
 
 # Custom test drivers: "abstract" XFAIL_TESTS support.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<'END'
index 60ce074..ce4a7fc 100755 (executable)
@@ -16,7 +16,6 @@
 
 # Custom test drivers: per-extension test drivers.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 0eb2268..75f6a87 100755 (executable)
@@ -22,7 +22,6 @@
 # (like our dummy one in this test) might leave around a test log even
 # in case of internal failures.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<'END'
index fb4e540..9b2f08b 100755 (executable)
@@ -19,7 +19,6 @@
 #    defined in a subdir Makefile
 
 am_create_testdir=empty
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 ocwd=`pwd` || fatal_ "getting current working directory"
index 9670188..0f51c3e 100755 (executable)
@@ -17,7 +17,6 @@
 # Custom test drivers: check that the test name passed to the test
 # driver has any VPATH prefix stripped.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 ocwd=`pwd` || fatal_ "cannot get current working directory"
index 0c3734f..801300b 100755 (executable)
@@ -20,7 +20,6 @@
 #  - .test if $(TEST_EXTENSIONS) is not defined
 #  - stuff in $(TEST_EXTENSIONS) otherwise
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 : > Makefile.am
index 8180803..e081d79 100755 (executable)
@@ -16,7 +16,6 @@
 
 # Expose bug in conditional definition of TEST_EXTENSIONS.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index d2fc2dd..fa23481 100755 (executable)
@@ -18,7 +18,6 @@
 # and do not diagnose valid (albeit more unusual) ones.
 # See automake bug#9400.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<'END'
index f0f71c6..0058b6d 100755 (executable)
@@ -17,7 +17,6 @@
 # Check that our concurrent test harness is not subject to spurious VPATH
 # rewrites.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index d400b52..0e6065d 100755 (executable)
@@ -22,7 +22,6 @@
 #  - VERBOSE environment variable support
 # Keep in sync with 'tap-log.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<END
index d75bbcb..30aefca 100755 (executable)
@@ -20,7 +20,6 @@
 # different test scripts don't end up sharing the same log file.
 # (Automake itself is such a project, BTW ;-)
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<END
index b10f481..af435ae 100755 (executable)
@@ -20,7 +20,6 @@
 # with the use of the reStructuredText field ':copy-in-global-log:' in
 # the associated '.trs' files.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index b247444..4aa633f 100755 (executable)
@@ -18,7 +18,6 @@
 # "global test result" in '*.trs' files, as documented in the automake
 # manual.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 0a7a7cc..8874745 100755 (executable)
@@ -17,7 +17,6 @@
 # Test the "make recheck" semantics for custom test drivers, as documented
 # in the Automake manual.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 5978f7f..03f93d7 100755 (executable)
@@ -17,7 +17,6 @@
 # Parallel testsuite harness: check APIs for the registering of test
 # results in '*.trs' files, as documented in the automake manual.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 586190f..2491da5 100755 (executable)
@@ -18,7 +18,6 @@
 #  - non-existent scripts listed in TESTS get diagnosed
 # See also related test 'test-missing2.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index e511a8b..6dd4b9d 100755 (executable)
@@ -19,7 +19,6 @@
 #    all the $(TEST_LOGS) have a dummy dependency.
 # See also related test 'test-missing.test'.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index a82d260..42456b4 100755 (executable)
@@ -18,7 +18,6 @@
 #  - creation and removal of '.trs' auxiliary files
 #  - check some internals regarding the use of '.trs' files.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<END
index 3632f61..a132194 100755 (executable)
@@ -19,7 +19,6 @@
 # This test is complex and tricky, but that's acceptable since we are
 # testing semantics that are potentially complex and tricky.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<END
index a154ce7..3cbbbf6 100755 (executable)
@@ -17,7 +17,6 @@
 # Check parallel harness features:
 #  - recovery from unreadable '.trs' files, in various scenarios
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<END
index 0e9d6e7..65855ce 100755 (executable)
@@ -18,7 +18,6 @@
 # by TESTS_ENVIRONMENT and AM_TESTS_ENVIRONMENT in LOG_COMPILER and
 # LOG_FLAGS (for tests both with and without registered extensions).
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 61b2728..93643d1 100755 (executable)
@@ -19,7 +19,7 @@
 # be run by (with the parallel-tests driver one should use LOG_COMPILER
 # for this).  The behaviour tested here is also documented in the manual.
 
-am_parallel_tests=no
+am_serial_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac <<END
index d62e537..6c42fd4 100755 (executable)
@@ -26,7 +26,6 @@
 # and the following CC:ed thread on bug-autoconf list:
 #   <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00002.html>
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 27cd458..62ca4ee 100755 (executable)
@@ -16,6 +16,7 @@
 
 # "Simple Tests" testsuite driver: check TESTS_ENVIRONMENT support.
 
+am_serial_tests=yes
 . ./defs || Exit 1
 
 cat >> configure.ac << 'END'
index 9b37262..50cc03b 100755 (executable)
@@ -19,7 +19,6 @@
 # FIXME: performance is too low, and FAIL accordingly; it just offers an
 # FIXME: easy way to verify how effective a performance optimization is.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 count=5000
index ff38097..b101206 100755 (executable)
@@ -19,7 +19,6 @@
 # Incidentally, this test also checks that the testsuite summary doesn't
 # give any bug-report address if it's not defined.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 for s in trivial-test-driver extract-testsuite-summary.pl; do
index 480ec12..1958dd4 100755 (executable)
@@ -17,7 +17,6 @@
 # Check that the global testsuite log file referenced in the testsuite
 # summary and in the global testsuite log itself is correct.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 mv configure.ac configure.stub
index 4d18c61..a11bb8e 100755 (executable)
@@ -20,7 +20,6 @@
 # FIXME: performance is too low, and FAIL accordingly; it just offers
 # FIXME: an easy way verify how effective a performance optimization is.
 
-am_parallel_tests=yes
 . ./defs || Exit 1
 
 count=10000
index d8ee1c6..399f026 100755 (executable)
@@ -68,7 +68,8 @@ cat > sub1/parsefoo.yxx << 'END'
 %{
 // This file should contain valid C++ but invalid C.
 #include <cstdio>
-int yylex (void) { return (getchar ()); }
+// "std::" qualification required by Sun C++ 5.9.
+int yylex (void) { return std::getchar (); }
 void yyerror (const char *s) { return; }
 %}
 %%
index dfcc12a..41a25ec 100755 (executable)
@@ -46,7 +46,8 @@ cat > parse1.yy << 'END'
 // Valid C++, but deliberately invalid C.
 #include <cstdio>
 #include <cstdlib>
-int yylex (void) { return getchar (); }
+// "std::" qualification required by Sun C++ 5.9.
+int yylex (void) { return std::getchar (); }
 void yyerror (const char *s) { return; }
 %}
 %%