repo.or.cz
/
ambit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
output the start and end of autotest testing
[ambit.git]
/
autotests
/
runalltests
blob
bb482d8f4a1333bef6ccb0f1b66a142a69642a9d
1
#!/bin/sh
2
echo
"--checking autotests--"
3
for
test
in
`ls -1`
;
do
4
if
[
-d
$test
] ;
then
5
tempfoo
=
`basename
$0
`
6
output
=
`mktemp /tmp/
${tempfoo}
.XXXXXX`
||
exit
1
7
.
/
$test
/
$test
-silent
>
$output
8
grep
FAIL
$output
>> /
dev
/
null
9
if
[
$?
==
0
] ;
then
10
echo
"autotest failure"
;
11
cat
$output
12
rm
$output
;
13
exit
1
14
fi
15
rm
$output
;
16
fi
17
done
18
echo
"--checking autotests done--"