aboutsummaryrefslogtreecommitdiff
path: root/test_all.sh
blob: cb2aa87016ff9a56c8e8c164fc7165981a1fdd5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/bash
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"
    else
        echo "ok $file"
    fi
done