Windows: make plugin and runtime test guards portable

- Do not build the pthread-based C ABI fixtures on Windows (their tests
  skip without the path macros); the C++ plugin fixtures still build.
- Plugin tests: drop the dlfcn.h proxy guard now that Windows uses
  LoadLibrary; mark the C ABI hardening file @requires-posix.
- RuntimeSignals is POSIX-only (@requires-posix).

Refs #65
This commit is contained in:
faumaray committed 2026-12-06 02:56:59 +03:00
1 parent 8510ea197f
commit 6fa77eed93
8 files changed
+11 -11

No files matched your search

-2
View File
@@ -25,7 +25,6 @@ Void::Testing::Test plugin_load_missing_file_returns_error()
Void::Testing::DisabledTest plugin_load_and_query_skipped() {}
#ifdef VOID_TEST_PLUGIN_PATH
# if __has_include(<dlfcn.h>)
Void::Testing::Test plugin_load_test_plugin()
{
@@ -77,5 +76,4 @@ Void::Testing::Test plugin_abi_version_matches()
Void::Testing::expect_eq(r->info().abi_version, Void::Plugin::ABI_VERSION);
}
# endif // has dlfcn.h
#endif // VOID_TEST_PLUGIN_PATH