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:
1 parent
8510ea197f
commit
6fa77eed93
8 files changed
+11
-11
No files matched your search
@@ -1,6 +1,7 @@
|
||||
#include <Void/Plugin/CAbi.h>
|
||||
#include <Void/Plugin/CAbiAdapter.hpp>
|
||||
#include <Void/Plugin/Host.hpp>
|
||||
// @requires-posix: C ABI plugin fixtures use pthreads/nanosleep.
|
||||
#include <Void/Plugin/Manager.hpp>
|
||||
#include <Void/System/TempDir.hpp>
|
||||
#include <Void/Testing/Assert.hpp>
|
||||
@@ -47,8 +48,7 @@ namespace
|
||||
}
|
||||
} // namespace
|
||||
|
||||
#if defined(VOID_CABI_V1_PATH) && defined(VOID_CABI_V2_PATH) && \
|
||||
__has_include(<dlfcn.h>)
|
||||
#if defined(VOID_CABI_V1_PATH) && defined(VOID_CABI_V2_PATH)
|
||||
|
||||
Void::Testing::Test plugin_cabi_v1_to_v2_stateful_quiesce_and_reload()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user