This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository legacy-imlib2.

View the commit online.

commit 76c0c71f86853b84d059bc4bc974f9762db967b5
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Fri Oct 4 16:40:19 2024 +0200

    test: By default skip CRC checks on jxl images
    
    They seem to be quite sensitive to libjxl version and cpu type(?).
    
    The checks can be re-enabled e.g. by setting IMLIB2_TEST_FILES_SKIP=
---
 test/test.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/test.cpp b/test/test.cpp
index efd092b..2048f2a 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -89,6 +89,10 @@ extern "C" {
 }
 /**INDENT-ON**/
 
+/* Skip crc checks on jxl images by default.
+ * They seem to be quite sensitive to libjxl version and cpu type(?) */
+#define IMLIB2_TEST_FILES_SKIP_DEFAULT "jxl"
+
 bool
 file_skip(const char *file)
 {
@@ -98,6 +102,8 @@ file_skip(const char *file)
     if (skiplist == (char **)(-1))
     {
         s = getenv("IMLIB2_TEST_FILES_SKIP");
+        if (!s)
+            s = IMLIB2_TEST_FILES_SKIP_DEFAULT;
         skiplist = __imlib_StrSplit(s, ':');
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to