From 5500f11768d4d93eef4dfcecf0821fee747bf1a4 Mon Sep 17 00:00:00 2001 From: jarcherNV Date: Thu, 4 Sep 2025 21:35:34 -0700 Subject: Try both LoadLibrary functions on Windows (#8368) If a given library cannot be found using LoadLibraryExA then try again using LoadLibraryA. Return an error only if both of these failed. --- tests/cpp-compiler/c-compile-shared-library.c | 3 +-- tests/cpp-compiler/cpp-compile-shared-library.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/cpp-compiler/c-compile-shared-library.c b/tests/cpp-compiler/c-compile-shared-library.c index 7bf439f1e..5af13b4c9 100644 --- a/tests/cpp-compiler/c-compile-shared-library.c +++ b/tests/cpp-compiler/c-compile-shared-library.c @@ -1,5 +1,4 @@ -// This test is failing due to a regression github issue #8362 -// DISABLE_TEST(smoke,shared-library):CPP_COMPILER_SHARED_LIBRARY: +// TEST(smoke,shared-library):CPP_COMPILER_SHARED_LIBRARY: #include #include diff --git a/tests/cpp-compiler/cpp-compile-shared-library.cpp b/tests/cpp-compiler/cpp-compile-shared-library.cpp index cd192d9f6..a69e22899 100644 --- a/tests/cpp-compiler/cpp-compile-shared-library.cpp +++ b/tests/cpp-compiler/cpp-compile-shared-library.cpp @@ -1,5 +1,4 @@ -// This test is failing due to a regression github issue #8362 -// DISABLE_TEST(smoke):CPP_COMPILER_SHARED_LIBRARY: +// TEST(smoke):CPP_COMPILER_SHARED_LIBRARY: #include #include -- cgit v1.2.3