summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorClaudio Freire <klaussfreire@gmail.com>2015-03-08 03:53:22 -0300
committerMichael Niedermayer <michaelni@gmx.at>2015-03-09 17:06:07 +0100
commit374ec68139d1676fd7fe8b090dca9e0adf03678e (patch)
tree04e3bdee107c058115abc84f3901acf65fad952a /tests/fate-run.sh
parent6b8263b03ab3d16d70525ae1893cb106be7852f1 (diff)
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-xtests/fate-run.sh6
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
}