From 1922c58b200686f05cf2e13d53f053e88f0d5d22 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 30 Oct 2013 21:39:35 +0200 Subject: Make 'make check' exit non-zero if failure, for buildbots. --- test/ChangeLog | 7 +++++++ test/Makefile.am | 2 +- test/Makefile.in | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/ChangeLog b/test/ChangeLog index 6efd6ef5..cb9be91e 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -3,9 +3,16 @@ * Makefile.am (pipeio3): Enhance test, again, to be more resilient to variations in error messages produced by different Bourne shells when a command is not found. This time for Cygwin. + + Unrelated: + (charasbytes): Translit any tabs to spaces. Should help on some System V systems such as Solaris. We hope. + Unrelated: + + (pass-fail): Exit non-zero if tests fail. Useful for buildbots. + 2013-10-22 Arnold D. Robbins * Makefile.am (pipeio3): Enhance test to be more resilient to diff --git a/test/Makefile.am b/test/Makefile.am index 21f4ef7f..73249dff 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1904,7 +1904,7 @@ pass-fail: @COUNT=`ls _* 2>/dev/null | wc -l` ; \ if test $$COUNT = 0 ; \ then echo ALL TESTS PASSED ; \ - else echo $$COUNT TESTS FAILED ; \ + else echo $$COUNT TESTS FAILED ; exit 1; \ fi # This target for my convenience to look at all the results diff --git a/test/Makefile.in b/test/Makefile.in index 7e55db72..8a4ce41d 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -3637,7 +3637,7 @@ pass-fail: @COUNT=`ls _* 2>/dev/null | wc -l` ; \ if test $$COUNT = 0 ; \ then echo ALL TESTS PASSED ; \ - else echo $$COUNT TESTS FAILED ; \ + else echo $$COUNT TESTS FAILED ; exit 1; \ fi # This target for my convenience to look at all the results -- cgit v1.2.3