From 1e283dd31048e2d21c22784b1a438836ffbea7c4 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 16 Apr 2024 13:56:19 -0400 Subject: Exit with 1 on failure --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 96c33f44..fa6e7957 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ test: tomo rm -f test/*.tm.[cho] for f in $$(ls test/*.tm | shuf); do echo -e "\x1b[1;4m$$f\x1b[m"; \ if ! VERBOSE=0 CC=tcc ./tomo "$$f"; then \ - echo "FAILURE!"; break; \ + echo "FAILURE!"; exit 1; \ fi; \ done; echo -e '\x1b[32;7m ALL TESTS PASSED! \x1b[m' -- cgit v1.2.3