oupsss
[ozulis.git] / check-expr.sh
bloba3160b4b02dbdbd95e4170b8ea7102aa06691b72
1 #! /bin/sh
4 for i in tests/lang/mugiwara/input/expr/*.mgw
5 do
6 echo $i
7 if ! ./ozulis $i ; then
8 cat -n ${i/mgw/ll}
9 cat $i
10 #break
12 rm -f ${i/mgw/ll} ${i/mgw/bc} ${i/.mgw/}
13 done
15 for i in tests/lang/mugiwara/input/bad-expr/*.mgw
17 echo -n $i
18 if ./ozulis $i >/dev/null 2>&1; then
19 echo ' KO'
20 else
21 echo ' OK'
23 rm -f ${i/mgw/ll} ${i/mgw/bc} ${i/.mgw/}
24 done
25 } 2>&1 | less -R