[FFmpeg-cvslog] tests: Do not include stdout/stderr or diff if the test passed
Timothy Gu
git at videolan.org
Fri Apr 10 22:29:04 CEST 2015
ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Fri Apr 10 10:51:11 2015 -0700| [1a562adb0101ac8372593b56ccd1bdb4ebb96b72] | committer: Michael Niedermayer
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 at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1a562adb0101ac8372593b56ccd1bdb4ebb96b72
---
tests/fate-run.sh | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index fec3c5e..74f2645 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"
More information about the ffmpeg-cvslog
mailing list