From e9a0f964987834cc576220781dc5baacc5807fe7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 4 May 2023 18:29:00 +0200 Subject: [PATCH] Don't run regex unit tests in non-Unicode build These tests rely on Unicode support and fail without it. --- .github/workflows/ci_msw_cross.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci_msw_cross.yml b/.github/workflows/ci_msw_cross.yml index 84b110fbf7..60f012851b 100644 --- a/.github/workflows/ci_msw_cross.yml +++ b/.github/workflows/ci_msw_cross.yml @@ -244,6 +244,13 @@ jobs: # Wine WinHTTP implementations seems buggy, there are many errors. excluded_tests+=('~[webrequest]') + case "$wxCONFIGURE_FLAGS" in + *--disable-unicode*) + # Regex tests require Unicode, skip them in this build. + excluded_tests+=('~wxRegEx::*' '~regex::*') + ;; + esac + $wxTEST_RUNNER ./test.exe "${excluded_tests[@]}" - name: Run GUI tests