diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-22 23:29:47 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-22 23:59:56 +0200 |
commit | e2a000cc181b4a66564b8378cad6843d1938f80a (patch) | |
tree | 4072c641c3cb1c1b07fcee0515c886c661763fc1 /t/tap-plan.sh | |
parent | 20963917dd4c0591f2983bd6a94426361bd53fa5 (diff) | |
download | automake-e2a000cc181b4a66564b8378cad6843d1938f80a.tar.gz |
tests: avoid use of redirected 'run_make' invocations
Instead, properly use the -E, -O, or -M options of run_make.
The occurrences of the 'run_make' invocations using output
redirection has been found by the recently-introduced maintainer
check 'sc_tests_no_run_make_redirect'.
* t/ax/tap-summary-aux.sh: Adjust.
* t/ax/testsuite-summary-checks.sh: Likewise.
* Several other tests: Likewise.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/tap-plan.sh')
-rw-r--r-- | t/tap-plan.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/tap-plan.sh b/t/tap-plan.sh index 50ae42605..f17d90474 100644 --- a/t/tap-plan.sh +++ b/t/tap-plan.sh @@ -41,9 +41,9 @@ ok END for tap_flags in "" "--comments"; do - run_make TEST_LOG_DRIVER_FLAGS="$tap_flags" TESTS='top.test bot.test' \ - check >stdout || { cat stdout; exit 1; } - cat stdout + run_make -O check \ + TESTS='top.test bot.test' \ + TEST_LOG_DRIVER_FLAGS="$tap_flags" count_test_results total=7 pass=5 xfail=1 skip=1 fail=0 xpass=0 error=0 done |