From 2df588fb6ebc77d067e390e5c70c5da0298a47b2 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Wed, 22 Apr 2020 15:04:11 -0400 Subject: improved arr system --- tests/test.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/test.sh b/tests/test.sh index 8df4c46..a603767 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -51,7 +51,7 @@ do_tests() { printf '\x1b[92mpassed!\x1b[0m\n' else printf '\x1b[91mfailed!\x1b[0m\n' - failed=true + exit 1 fi done } @@ -60,6 +60,3 @@ for x in $tests; do done rm got a.out out.c -if $failed; then - exit 1 -fi -- cgit v1.2.3