summaryrefslogtreecommitdiff
path: root/t/tap-merge-stdout-stderr.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-05-22 23:29:47 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-05-22 23:59:56 +0200
commite2a000cc181b4a66564b8378cad6843d1938f80a (patch)
tree4072c641c3cb1c1b07fcee0515c886c661763fc1 /t/tap-merge-stdout-stderr.sh
parent20963917dd4c0591f2983bd6a94426361bd53fa5 (diff)
downloadautomake-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-merge-stdout-stderr.sh')
-rw-r--r--t/tap-merge-stdout-stderr.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/t/tap-merge-stdout-stderr.sh b/t/tap-merge-stdout-stderr.sh
index ef99d8204..74f6f2e78 100644
--- a/t/tap-merge-stdout-stderr.sh
+++ b/t/tap-merge-stdout-stderr.sh
@@ -60,10 +60,7 @@ count_test_results total=2 pass=1 fail=0 xpass=0 xfail=0 skip=0 error=1
# See that the option '--no-merge' can override the effect of '--merge'.
-run_make TEST_LOG_DRIVER_FLAGS=--no-merge check >stdout \
- || { cat stdout; exit 1; }
-cat stdout
-
+run_make -O TEST_LOG_DRIVER_FLAGS=--no-merge check
count_test_results total=1 pass=1 fail=0 xpass=0 xfail=0 skip=0 error=0