[FFmpeg-cvslog] tests/fate-run: Print more details on failure of stddev / filesize compares

Claudio Freire git at videolan.org
Mon Mar 9 17:19:24 CET 2015


ffmpeg | branch: master | Claudio Freire <klaussfreire at gmail.com> | Sun Mar  8 03:53:22 2015 -0300| [374ec68139d1676fd7fe8b090dca9e0adf03678e] | committer: Michael Niedermayer

tests/fate-run: Print more details on failure of stddev / filesize compares

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

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

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

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 824d5f4..feac731 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -50,6 +50,12 @@ do_tiny_psnr(){
     size_cmp=$(compare $size1 $size2 $size_tolerance)
     if [ "$val_cmp" != 0 ] || [ "$size_cmp" != 0 ]; then
         echo "$psnr"
+        if [ "$val_cmp" != 0 ]; then
+            echo "$3: |$val - $cmp_target| >= $fuzz"
+        fi
+        if [ "$size_cmp" != 0 ]; then
+            echo "size: |$size1 - $size2| >= $size_tolerance"
+        fi
         return 1
     fi
 }



More information about the ffmpeg-cvslog mailing list