[librsvg: 3/4] (#366): tests: Increase reftest tolerance on non-x86_64 even more



commit b63c123ea7b0c468da4bd3704f5967e476a0eb67
Author: Simon McVittie <smcv debian org>
Date:   Wed Oct 24 11:34:31 2018 +0100

    (#366): tests: Increase reftest tolerance on non-x86_64 even more
    
    filter-component-transfer-from-reference-page fails on Debian i386
    with a difference of 14 colour levels around the text "LinearFunc",
    but the difference is not visually obvious.
    
    Fixes: https://gitlab.gnome.org/GNOME/librsvg/issues/366
    Signed-off-by: Simon McVittie <smcv debian org>

 tests/rsvg-test.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tests/rsvg-test.c b/tests/rsvg-test.c
index c6c0e2ab..ffc6d356 100644
--- a/tests/rsvg-test.c
+++ b/tests/rsvg-test.c
@@ -353,8 +353,9 @@ rsvg_cairo_check (gconstpointer data)
 #ifdef __x86_64__
        const unsigned int MAX_DIFF = 2;
 #else
-        /* https://gitlab.gnome.org/GNOME/librsvg/issues/178 */
-       const unsigned int MAX_DIFF = 10;
+        /* https://gitlab.gnome.org/GNOME/librsvg/issues/178,
+         * https://gitlab.gnome.org/GNOME/librsvg/issues/366 */
+       const unsigned int MAX_DIFF = 20;
 #endif
 
        surface_diff = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]