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-no-spurious-numbers.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 't/tap-no-spurious-numbers.sh') diff --git a/t/tap-no-spurious-numbers.sh b/t/tap-no-spurious-numbers.sh index 57c5ddcff..95e9832c9 100644 --- a/t/tap-no-spurious-numbers.sh +++ b/t/tap-no-spurious-numbers.sh @@ -91,9 +91,7 @@ grep '#.*#' all.test \ test $(wc -l stdout || : -cat stdout - +run_make -O -e IGNORE check count_test_results total=$total pass=$pass fail=$fail skip=$skip \ xpass=$xpass xfail=$xfail error=$error -- cgit v1.2.1