[librsvg/librsvg-2.42] Sigh, allow MAX_DIFF=1 on x86_64 as before. I shouldn't computer late at night.



commit 0bc94045c5b74bcc0278faa4e611b51055a8c951
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Mar 2 07:39:07 2018 -0600

    Sigh, allow MAX_DIFF=1 on x86_64 as before.  I shouldn't computer late at night.

 tests/rsvg-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/rsvg-test.c b/tests/rsvg-test.c
index ccf77472..a54dd1fd 100644
--- a/tests/rsvg-test.c
+++ b/tests/rsvg-test.c
@@ -334,7 +334,7 @@ rsvg_cairo_check (gconstpointer data)
     }
     else {
         /* https://gitlab.gnome.org/GNOME/librsvg/issues/178 */
-       const unsigned int MAX_DIFF = sizeof (long) == 8 ? 0 : 10;
+       const unsigned int MAX_DIFF = sizeof (long) == 8 ? 1 : 10;
 
        surface_diff = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
                                                   dimensions.width, dimensions.height);


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