aboutsummaryrefslogblamecommitdiff
path: root/test_all.sh
blob: 28c26d4d448fd17c721bc3bfd3140d52284a7c61 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
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