-
Notifications
You must be signed in to change notification settings - Fork 0
/
testall.sh
executable file
·46 lines (40 loc) · 1.06 KB
/
testall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
\rm -f *.diff
\rm -f *.tmp
\rm -f *.out*
\rm -f frog.*.debug
if [ "$frog_bin" == "" ];
then
frog_bin=/home/sloot/usr/local/bin
if [ ! -d $frog_bin ];
then
frog_bin=/exp/sloot/usr/local/bin
if [ ! -d $frog_bin ];
then
echo "cannot find executables "
exit
fi
fi
fi
export frog_bin=$frog_bin
errcnt=0
for file in teststandard testencoding testunits testslash testapostroph \
testapostroph2 testoption_config testdaring testsmurf \
testoption_n testnormalize testinternet testsmiley testlang \
testparser testparserxml testskipt testskipt2 \
testmbma testmblem \
testmblemproblems testmbmaproblems \
testtextclass testpassthru \
testissue64 \
testissue71 testissue72 testissue73 testissue76 testissue77 \
testissue98 testissue103 \
testapi test_testdir testxmlin testlong \
testserver testserver-n testserverxml
# testjsonserver testjsonserver2 # testquotes
do ./testone.sh $file
if [ $? -ne 0 ];
then
errcnt=$((errcnt+1))
fi
done
exit $errcnt