fix for tap tests
Change-Id: Ic79cfdaf420cbf15a1aba6e30c821f35b726d0da
This commit is contained in:
parent
9fddecf31f
commit
fa86f72420
1 changed files with 12 additions and 1 deletions
13
test/run
13
test/run
|
@ -116,7 +116,13 @@ do
|
|||
testid="`echo $i | sed 's/\..*//'`"
|
||||
ARG=`eval echo "\\${ARGS_$testid}"`
|
||||
|
||||
runtest $i $ARG 2>&1 | sed "s/^/$diagprefix/"
|
||||
if [ "$tapmode" ]
|
||||
then out=out.$$
|
||||
rm -f $out
|
||||
runtest $i $ARG >$out 2>&1
|
||||
else runtest $i $ARG
|
||||
fi
|
||||
|
||||
FAIL=$?
|
||||
|
||||
if [ $FAIL -eq 0 ]
|
||||
|
@ -130,6 +136,11 @@ do
|
|||
failed=`expr $failed + 1`
|
||||
badones=`echo $badones " " $i`
|
||||
fi
|
||||
|
||||
if [ "$tapmode" ]
|
||||
then cat $out | sed "s/^/$diagprefix/"
|
||||
rm -f $out
|
||||
fi
|
||||
else
|
||||
skipped=`expr $skipped + 1`
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue