Added zebrash test
[idzebra-moved-to-github.git] / test / zsh / testall.sh
1 #!/bin/sh
2 # run all zebrash tests
3 mkdir -p reg
4 rm -f *.mf reg/*.mf *.out
5
6 for F in *.zsh
7 do
8   echo $F
9   ../../index/zebrash <$F >$F.out 
10   RC=$?
11   if [ "$RC" -gt "0" ]
12   then 
13     echo "$F failed with exit code $RC"
14     FINAL=$RC
15   fi
16 done
17 if [ "$FINAL" ]
18 then
19     echo "Tests FAILED"
20     exit 9
21 fi
22 echo OK
23 exit 0