From cce3ae98a2c1966719daabff5a4ec6cf94a846f6 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 26 Feb 2024 16:55:44 +0000 Subject: [PATCH] tests: Remove variable-length lookbehind tests for GRegex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PCRE2 10.43 has now introduced support for variable-length lookbehind, so these tests now fail if GLib is built against PCRE2 10.43 or higher. See https://github.com/PCRE2Project/pcre2/blob/e8db6fa7137f4c6f66cb87e0a3c9467252ec1ef7/ChangeLog#L94. Rather than making the tests conditional on the version of PCRE2 in use, just remove them. They are mostly testing the PCRE2 code rather than any code in GLib, so don’t have much value. This should fix CI runs on msys2-mingw32, which updated to PCRE2 10.43 2 days ago. Signed-off-by: Philip Withnall --- glib/tests/regex.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/glib/tests/regex.c b/glib/tests/regex.c index 108252629..d7a698ec6 100644 --- a/glib/tests/regex.c +++ b/glib/tests/regex.c @@ -1885,16 +1885,6 @@ test_lookbehind (void) g_match_info_free (match); g_regex_unref (regex); - regex = g_regex_new ("(?