building more complete tags file for vim
[ozulis.git] / check_expr.sh
blobc7a2b55064fd647829b1b46c0b4e6e9921225543
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 l2>&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