diff options
Diffstat (limited to 'test_all.sh')
-rwxr-xr-x | test_all.sh | 11 |
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 |