projects
/
idzebra-moved-to-github.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Zebra now works with make distcheck
[idzebra-moved-to-github.git]
/
test
/
zsh
/
testall.sh
1
#!/bin/sh
2
# $Id: testall.sh,v 1.4 2004-06-15 09:43:34 adam Exp $
3
# run all zebrash tests
4
5
pp=${srcdir:-"."}
6
7
test -d reg || mkdir reg
8
rm -f *.mf reg/*.mf *.out
9
10
for F in $pp/*.zsh
11
do
12
echo $F
13
../../index/zebrash -c $pp/zebra.cfg <$F >$F.out
14
RC=$?
15
if [ "$RC" -gt "0" ]
16
then
17
echo "$F failed with exit code $RC"
18
FINAL=$RC
19
fi
20
done
21
if [ "$FINAL" ]
22
then
23
echo "Tests FAILED"
24
exit 9
25
fi
26
exit 0