From e2a000cc181b4a66564b8378cad6843d1938f80a Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 22 May 2013 23:29:47 +0200 Subject: 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 --- t/tap-planskip-and-logging.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 't/tap-planskip-and-logging.sh') diff --git a/t/tap-planskip-and-logging.sh b/t/tap-planskip-and-logging.sh index b3089e41a..aaea4d0ab 100644 --- a/t/tap-planskip-and-logging.sh +++ b/t/tap-planskip-and-logging.sh @@ -45,10 +45,7 @@ an early non-TAP line a later non-TAP line END -run_make TESTS='foo.test foo2.test bar.test' check >stdout \ - || { cat stdout; exit 1; } -cat stdout - +run_make -O TESTS='foo.test foo2.test bar.test' check count_test_results total=3 pass=0 fail=0 xpass=0 xfail=0 skip=3 error=0 grep '^# foo\.test: a comment$' stdout -- cgit v1.2.1