summaryrefslogtreecommitdiff
path: root/verify-chill/runtests
blob: e5021f828be1e4818301c50936cd42404a5755bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#/bin/sh
for file in *.py; do
    echo -n "Testing "
    echo -n $file | sed 's/test_//g;s/.py//g'
    echo -n " ... "
    ../chill $file > /dev/null 2>&1 
    cmp -s rose_mm.c with/$file.out 
    if [ $? -eq 0 ]
       	then echo OK
    else
        cmp -s rose_mm.c without/$file.out 
	if [ $? -eq 0 ]; then echo OK; else echo failed; fi
   fi
done
rm rose_mm.c