Browse Source

fate: Omit the results if the test passed

The FATE server does not report this information anyway and omitting
it makes the successful run send much less data.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
tags/n2.7
Timothy Gu Luca Barbato 10 years ago
parent
commit
3b1e35d46d
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      tests/fate-run.sh

+ 7
- 1
tests/fate-run.sh View File

@@ -211,7 +211,13 @@ else
err=1
fi

echo "${test}:${sig:-$err}:$($base64 <$cmpfile):$($base64 <$errfile)" >$repfile
if [ $err -eq 0 ]; then
unset cmpo erro
else
cmpo="$($base64 <$cmpfile)"
erro="$($base64 <$errfile)"
fi
echo "${test}:${sig:-$err}:$cmpo:$erro" >$repfile

if test $err != 0 && test $gen != "no" ; then
echo "GEN $ref"


Loading…
Cancel
Save