mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
tests/fate-run: Print more details on failure of stddev / filesize compares
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6b8263b03a
commit
374ec68139
@ -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…
Reference in New Issue
Block a user