From 3ab13ddc4ba680ab0e50fae242cc617d04c6575d Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Wed, 10 Jul 2024 22:55:18 -0400 Subject: [PATCH] gmodule: skip local-binding test on Windows --- gmodule/tests/module-test.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gmodule/tests/module-test.c b/gmodule/tests/module-test.c index 1ecbaa4b7..782e96fdc 100644 --- a/gmodule/tests/module-test.c +++ b/gmodule/tests/module-test.c @@ -245,6 +245,11 @@ test_local_binding (void) g_test_summary ("Test that binding a library's symbols locally does not add them globally"); +#if defined(G_PLATFORM_WIN32) + g_test_skip ("G_MODULE_BIND_LOCAL is not supported on Windows."); + return; +#endif + plugin = g_test_build_filename (G_TEST_BUILT, MODULE_FILENAME_PREFIX "moduletestplugin_a_" MODULE_TYPE, NULL); module_plugin = g_module_open_full (plugin, G_MODULE_BIND_LOCAL, &error);