[FFmpeg-cvslog] tests/fate-run.sh: Cat .err file in case of error with V>0

Michael Niedermayer git at videolan.org
Sun Oct 5 00:32:23 CEST 2014


ffmpeg | branch: release/2.4 | Michael Niedermayer <michaelni at gmx.at> | Tue Sep 23 23:38:29 2014 +0200| [b8d34604ff166175f1921ac2ade5cd77ddb54e09] | committer: Michael Niedermayer

tests/fate-run.sh: Cat .err file in case of error with V>0

This may make fate failures where only the console output is available
easier to analyze

Suggested-by: Andreas Cadhalpun
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 00d3bb1a074b60fd9687679e4147f56d81886b05)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b8d34604ff166175f1921ac2ade5cd77ddb54e09
---

 tests/fate-run.sh |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 7fe7e74..b994aba 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -248,6 +248,7 @@ if test $err = 0; then
     rm -f $outfile $errfile $cmpfile $cleanfiles
 elif test $gen = "no"; then
     echo "Test $test failed. Look at $errfile for details."
+    test "${V:-0}" -gt 0 && cat $errfile
 else
     echo "Updating reference failed, possibly no output file was generated."
 fi



More information about the ffmpeg-cvslog mailing list