diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-04-10 10:36:03 -0700 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-04-20 12:41:34 +0200 |
commit | 3b1e35d46dc910cef1d66f6964e6800cae5fc89b (patch) | |
tree | ca24cb329ef2611fe81a957b996172f7f5dba552 /tests/fate-run.sh | |
parent | d34039b171bebe37bf723a1b03e5651267099739 (diff) | |
download | ffmpeg-3b1e35d46dc910cef1d66f6964e6800cae5fc89b.tar.gz |
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>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 790a4d1283..a0a69ad0a7 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -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" |