aboutsummaryrefslogtreecommitdiff
path: root/test_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test_all.sh')
-rwxr-xr-xtest_all.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test_all.sh b/test_all.sh
new file mode 100755
index 0000000..28c26d4
--- /dev/null
+++ b/test_all.sh
@@ -0,0 +1,11 @@
+#! /bin/bash
+for file in test/*
+do
+ gcc $file -o /dev/null &> /dev/null
+ gcc_ret="$?"
+ ./cibic $file &> /dev/null
+ if [ $? -ne $gcc_ret ]; then
+ echo "Failed on $file"
+ break
+ fi
+done