From 3ce4015f1bfff6277840502b080cfd2b22e05870 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Thu, 23 May 2013 12:10:18 +0200 Subject: tests: avoid '$MAKE' redirections, use 'run_make' instead The use 'run_make' with the -E, -O and -M option, it is more idiomatic now. Also, this way, centralized fixes and improvements done in 'run_make' will automatically propagate through most of the testsuite. * syntax-checks.mk (sc_tests_no_run_make_redirect): Also check against '$MAKE' invocations that uses output redirections (and not only against 'run_make' invocation that do so). * Several tests: Adjust (and few minor cosmetic changes as well, while at it). Signed-off-by: Stefano Lattarini --- t/tap-more2.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 't/tap-more2.sh') diff --git a/t/tap-more2.sh b/t/tap-more2.sh index ae159312b..491399ec0 100644 --- a/t/tap-more2.sh +++ b/t/tap-more2.sh @@ -82,8 +82,7 @@ $AUTOMAKE ./configure for target in check distcheck; do - $MAKE $target >stdout || { cat stdout; exit 1; } - cat stdout + run_make -O $target count_test_results total=3 pass=1 fail=0 xpass=0 xfail=1 skip=1 error=0 done -- cgit v1.2.1