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



commit 4e8a3282232e27972d27bf008b9b4a77757d5017
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 96fd1bab..0e4323ac 100644
--- a/tests/rsvg-test.c
+++ b/tests/rsvg-test.c
@@ -378,8 +378,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
        const unsigned int WARN_DIFF = 2;
 


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