aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMustafa Quraish <[email protected]>2022-01-29 12:28:29 -0500
committerMustafa Quraish <[email protected]>2022-01-29 12:28:29 -0500
commit5675102df9fdbe25ad5388eadbf8ce9fc8365d50 (patch)
tree54b9f053663496f7a73b08bc996cada5ab7a5652
parentAdd parsing + storing offsets for locals / move around headers (diff)
downloadcup-5675102df9fdbe25ad5388eadbf8ce9fc8365d50.tar.xz
cup-5675102df9fdbe25ad5388eadbf8ce9fc8365d50.zip
Stop tests if compilation fails
-rwxr-xr-xtest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.sh b/test.sh
index 2fdbf47..d665a3d 100755
--- a/test.sh
+++ b/test.sh
@@ -1,6 +1,8 @@
#!/bin/bash
+set -e
./compile.sh
+set +e
for i in `ls tests/*.sh | grep -v common.sh`
do