aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-04-10 10:51:11 -0700
committerMichael Niedermayer <michaelni@gmx.at>2015-04-10 22:20:36 +0200
commit1a562adb0101ac8372593b56ccd1bdb4ebb96b72 (patch)
tree80ab96e4b6656de059e097a82b166ab5c06c610f
parent28e2bf90b93ecd9e5d97ae5447861f8d8ec823fc (diff)
downloadffmpeg-1a562adb0101ac8372593b56ccd1bdb4ebb96b72.tar.gz
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>
-rwxr-xr-xtests/fate-run.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index fec3c5e152..74f264533d 100755
--- a/tests/fate-run.sh
+++ b/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"