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