tests: Do not include stdout/stderr or diff if the test passed

FATE currently discards this information anyway, so why waste the
disk space?

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/125/merge
Timothy Gu 10 years ago committed by Michael Niedermayer
parent 28e2bf90b9
commit 1a562adb01
  1. 8
      tests/fate-run.sh

@ -252,7 +252,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