From 62f75c235db169bf57beaa61694b3c5db95e5e60 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 24 Aug 2023 00:48:41 +0200 Subject: [PATCH] Fix DynamicLibrary::Load() test for less common platforms alpha and ia64 use libc.so.6.1, GNU/kFreeBSD uses libc.so.0.1, and GNU/Hurd uses libc.so.0.3, so check for these versions too in addition to 6 and 7 used under x86 Linux. Closes #23801. --- tests/misc/dynamiclib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/misc/dynamiclib.cpp b/tests/misc/dynamiclib.cpp index 615b703bfa..1766054daf 100644 --- a/tests/misc/dynamiclib.cpp +++ b/tests/misc/dynamiclib.cpp @@ -46,7 +46,7 @@ TEST_CASE("DynamicLibrary::Load", "[dynlib]") "/usr/lib", }; - static const char* const candidateVersions[] = { "6", "7", }; + static const char* const candidateVersions[] = { "6", "7", "6.1", "0.3", "0.1" }; wxString LIB_NAME; wxArrayString allMatches;