Don't run regex unit tests in non-Unicode build

These tests rely on Unicode support and fail without it.
This commit is contained in:
Vadim Zeitlin 2023-05-04 18:29:00 +02:00
parent 7a8331c11f
commit e9a0f96498

View File

@ -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