Skip to content

Commit

Permalink
Retrying failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatsridhar95 committed May 2, 2023
1 parent fc71675 commit b35133b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/unittest/testall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ do
rv=$?
grep -E '(FAIL|PASS)' -A1 *.log
if [ 0 != $rv ]
then
echo "Retrying" $d
echo "exit code" $rv
./$d.test -test.v
rv=$?
grep -E '(FAIL|PASS)' -A1 *.log
fi
if [ 0 != $rv ]
then
#grep ^ *.log
echo $rv
echo $d
popd
#exit $rv
overall=1
Expand Down

0 comments on commit b35133b

Please sign in to comment.