From 374ec68139d1676fd7fe8b090dca9e0adf03678e Mon Sep 17 00:00:00 2001 From: Claudio Freire Date: Sun, 8 Mar 2015 03:53:22 -0300 Subject: [PATCH] tests/fate-run: Print more details on failure of stddev / filesize compares Signed-off-by: Michael Niedermayer --- tests/fate-run.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 }