summaryrefslogtreecommitdiff
path: root/tests/configure.test
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-08-04 11:08:24 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-08-04 12:30:10 +0200
commit9b967c28de8fe497c043d8f7eb9c5ea871f2e5f2 (patch)
treeb2f8cac457a326735898b0def781b1dd377f82ea /tests/configure.test
parent0bc7d68a0b1061e9907b420e61fb043eff8850f7 (diff)
downloadautomake-9b967c28de8fe497c043d8f7eb9c5ea871f2e5f2.tar.gz
testsuite: yet more use of TAP, and related extensions
* tests/defs (show_): New function, display the contents of one or more files on stdout, with bells & whistles (both for cosmetic and practical reasons, the latter aimed at avoiding spurious TAP diagnostic). (AUTOMAKE_run): Extend and adapt to make it compatible with TAP based tests. Since we are at it, make its implementation more namespace-safe, and improve its command-line interface. (AUTOMAKE_fails): Adapt to the new command-line interface of `AUTOMAKE_run'. * tests/add-missing.test: Renamed ... * tests/add-missing.tap: ... to this, and converted to the use of the TAP protocol, and of the new `show_' function. * tests/automake.test: Renamed ... * tests/automake-cmdline.tap: ... to this, and converted to the use of the TAP protocol. * tests/getopt.test: Adapt to the new command-line interface of `AUTOMAKE_run'. * tests/cond44.test: Likewise. * tests/cond45.test: Likewise. * tests/configure.test: Likewise. * tests/license2.test: Likewise. * tests/parallel-am.test: Likewise. * tests/parallel-am3.test: Likewise. * tests/tags2.test: Likewise. * tests/werror3.test: Likewise. * tests/werror4.test: Likewise. * tests/amopts-variable-expansion.test: Likewise. * tests/warnings-win-over-strictness.test: Likewise. * tests/Makefile.am (TESTS): Update. (TAP_LOG_DRIVER_FLAGS): Add `--merge', so that TAP diagnostic is reported in the testsuite progress output.
Diffstat (limited to 'tests/configure.test')
-rwxr-xr-xtests/configure.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/configure.test b/tests/configure.test
index 0e6290659..f9954afd6 100755
--- a/tests/configure.test
+++ b/tests/configure.test
@@ -47,7 +47,7 @@ AUTOMAKE_fails -Werror
grep 'configure\.ac.*configure\.in.*both present' stderr
grep 'proceeding.*configure\.ac' stderr
-AUTOMAKE_run 0 -Wno-error
+AUTOMAKE_run -Wno-error
grep 'configure\.ac.*configure\.in.*both present' stderr
grep 'proceeding.*configure\.ac' stderr