diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-23 12:10:18 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-23 20:09:29 +0200 |
commit | 3ce4015f1bfff6277840502b080cfd2b22e05870 (patch) | |
tree | 11d32069669ef2dd551ff22ac022722bf37fb2e1 /t/tap-bailout-suppress-badexit.sh | |
parent | e2a000cc181b4a66564b8378cad6843d1938f80a (diff) | |
download | automake-3ce4015f1bfff6277840502b080cfd2b22e05870.tar.gz |
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 <stefano.lattarini@gmail.com>
Diffstat (limited to 't/tap-bailout-suppress-badexit.sh')
-rw-r--r-- | t/tap-bailout-suppress-badexit.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/tap-bailout-suppress-badexit.sh b/t/tap-bailout-suppress-badexit.sh index 1a10b8383..8f5fb15fd 100644 --- a/t/tap-bailout-suppress-badexit.sh +++ b/t/tap-bailout-suppress-badexit.sh @@ -54,10 +54,9 @@ END chmod a+x $tests -$MAKE check >stdout && { cat stdout; exit 1; } -cat stdout - +run_make -O -e FAIL check count_test_results total=4 pass=0 fail=0 xpass=0 xfail=0 skip=0 error=4 + for tst in $tests; do grep "^ERROR: $tst - Bail out!" stdout; done $EGREP "ERROR: .*(exit.*status|terminat.*signal)" stdout && exit 1 |