aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-10-30 21:39:35 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-10-30 21:39:35 +0200
commit1922c58b200686f05cf2e13d53f053e88f0d5d22 (patch)
tree2792ef9af38e6b1d1ba946ef8553fb6d59ad697f
parent40e7cd90d7efebb47f9d13d15f622a511e9ed304 (diff)
downloadegawk-1922c58b200686f05cf2e13d53f053e88f0d5d22.tar.gz
egawk-1922c58b200686f05cf2e13d53f053e88f0d5d22.tar.bz2
egawk-1922c58b200686f05cf2e13d53f053e88f0d5d22.zip
Make 'make check' exit non-zero if failure, for buildbots.
-rw-r--r--test/ChangeLog7
-rw-r--r--test/Makefile.am2
-rw-r--r--test/Makefile.in2
3 files changed, 9 insertions, 2 deletions
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 <arnold@skeeve.com>
* 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