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

Michael Niedermayer michaelni at gmx.at
Wed Sep 24 00:43:30 CEST 2014


On Wed, Sep 24, 2014 at 12:33:25AM +0200, Andreas Cadhalpun wrote:
> On 23.09.2014 23:47, Michael Niedermayer wrote:
> >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>
> >---
> >  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
> >
> 
> This should work fine, thanks.

applied

should i backport this to 2.4 too ?

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140924/af4b5781/attachment.asc>


More information about the ffmpeg-devel mailing list