summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-04-22 15:04:11 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-04-22 15:04:56 -0400
commit2df588fb6ebc77d067e390e5c70c5da0298a47b2 (patch)
tree75767a5bae269ec1790a830761a04ed4dfb64fcc /tests
parent17709633dca5cb3d2b0b34a353bdf68c112c10e4 (diff)
improved arr system
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.sh5
1 files changed, 1 insertions, 4 deletions
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