Tests: build the pure-C ABI plugin fixtures on Windows

The V1 fixture gets a small pthread/nanosleep shim over
_beginthreadex and CRITICAL_SECTION, so the C ABI hardening suite
runs on Windows too (+5 tests). The fixture block is no longer
gated to non-Windows.
This commit is contained in:
faumaray committed 2026-12-06 16:54:41 +03:00
1 parent 7cddcf15ea
commit 7d9884d86b
4 files changed
+92 -9

No files matched your search

+4 -4
View File
@@ -109,7 +109,7 @@ recognized and configured like Linux; musl-specific behaviour (subprocess
| Language | C++26, reflection `yes` |
| Runtime | Wine 11.0 (`wine64`), no native Windows runner available |
| Modules | all modules under `src/` (`VOID_WINDOWS_MODULES` in `cmake/Targets.cmake`) |
| Observed | configure, compile, `cmake --install`, consume (`TargetProfile.exe` linked); each module's suite is verified under Wine before it is allowlisted. Full allowlisted set in one Debug shared binary (MinGW-w64 GCC 16.2.0) under Wine 11: **2003 tests, 1988 passed, 15 skipped, 0 failed** |
| Observed | configure, compile, `cmake --install`, consume (`TargetProfile.exe` linked); each module's suite is verified under Wine before it is allowlisted. Full allowlisted set in one Debug shared binary (MinGW-w64 GCC 16.2.0) under Wine 11: **2008 tests, 1993 passed, 15 skipped, 0 failed** |
Notes from the runtime run:
@@ -150,9 +150,9 @@ Notes from the runtime run:
libsodium, and `ShortUrlRemote` links the Windows `Net` client/server.
- Plugin hot-reload and discovery tests run on Windows: a new generation is
loaded from a fresh copy while the old DLL stays mapped, and the plugin file
is retired by rename instead of in-place replacement. The C ABI plugin
fixtures remain POSIX-only, and the reload-under-load stress test is still
gated.
is retired by rename instead of in-place replacement. The pure-C ABI fixture
suite also runs there (the V1 fixture carries a small pthread shim), and the
reload-under-load stress test is still gated.
- `Observability` links after replacing the namespace-scope
`inline thread_local` hook stack with a function-local `thread_local`
accessor (MinGW emitted duplicate TLS init functions).