make forever fail on error RELEASE-0_9_3
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 29 Sep 2005 20:26:35 +0000 (20:26 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 29 Sep 2005 20:26:35 +0000 (20:26 +0000)
Original commit message from CVS:
make forever fail on error

check.mak

index 9ecea69..f654ef6 100644 (file)
--- a/check.mak
+++ b/check.mak
@@ -32,7 +32,7 @@ LOOPS = 10
        @while true; do                                         \
        $(TESTS_ENVIRONMENT)                                    \
        CK_DEFAULT_TIMEOUT=20                                   \
-       $*; done
+       $* || break; done
 
 # valgrind any given test by running make test.valgrind
 %.valgrind: %