diff options
author | Claudio Freire <klaussfreire@gmail.com> | 2015-03-08 03:53:22 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-09 17:06:07 +0100 |
commit | 374ec68139d1676fd7fe8b090dca9e0adf03678e (patch) | |
tree | 04e3bdee107c058115abc84f3901acf65fad952a /tests/fate-run.sh | |
parent | 6b8263b03ab3d16d70525ae1893cb106be7852f1 (diff) | |
download | ffmpeg-374ec68139d1676fd7fe8b090dca9e0adf03678e.tar.gz |
tests/fate-run: Print more details on failure of stddev / filesize compares
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 824d5f48d1..feac731702 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 } |