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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/124/merge
Claudio Freire 10 years ago committed by Michael Niedermayer
parent 6b8263b03a
commit 374ec68139
  1. 6
      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
}

Loading…
Cancel
Save