feat(test): write JUnit reports and honour a per-test timeout
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 16s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 13s

This commit is contained in:
faumaray committed 2026-12-05 07:25:33 +03:00
1 parent ce47c23cda
commit 1e670cb96b
7 files changed
+147 -3

No files matched your search

+9
View File
@@ -1447,6 +1447,15 @@ vbs test --project /tmp/opencode/vl-migrate --build-dir /tmp/opencode/vl-migrat
- Upstream gap filed as [Void/Library#61](https://git.faumaray.com/Void/Library/issues/61) because
VoidLibrary lacks an in-repo VBS build description and many modules have no native entry.
## Test-Runner Parity: JUnit XML & Test Timeout (GCC 16.2, pin `0002e74`)
- `vbs test --junit report.xml --test-timeout 120` on the native subproject fixture writes a JUnit
report containing `<testsuites`, `<testsuite name="debug"`, `name="consumer_test"`, and
`failures="0"` (`FullV1Tests.native_vbs_subproject_dependency_builds_without_cmake`, 4.03 s).
- `vbs test --test-timeout 0` exits 2 with `invalid --test-timeout value '0'` before any project
work (CLI contract).
- Full CTest: **8 / 8 passed** after both slices.
## Limits and Unrun Checks
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).