test(provider): verify the Conan2 provider against a live conan install
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 5s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 9s

This commit is contained in:
faumaray committed 2026-12-04 01:14:11 +03:00
1 parent e990f44037
commit 7fd8fe9f6d
4 files changed
+110 -2

No files matched your search

+17
View File
@@ -848,6 +848,23 @@ dev cpp-gcc -c build/pinned/bin/vbs_core_tests --no-color
extracted `parse_database_snapshot` needed its final `return snap;` (a missing return trapped as
SIGILL under the SQLite path).
## Live Conan2 Provider Verification (GCC 16.2, pin `0002e74`, conan 2.32.0)
`conan` 2.32.0 was provided with `dev cpp-gcc -p conan`.
```sh
dev cpp-gcc -p conan -c cmake --build build/pinned --parallel 8
dev cpp-gcc -p conan -c build/pinned/bin/vbs_v1_tests --filter track_b3_live_conan_provider_install --no-color
dev cpp-gcc -p conan -c ctest --test-dir build/pinned --output-on-failure
```
- `track_b3_live_conan_provider_install`: **passed** (1.23 s). It creates a real header-only
package with `conan create` in an isolated `CONAN_HOME`, runs the Conan2 provider (which runs a
real `conan install` using the adapter-generated host/build profiles), asserts the provider
export has `builder == "conan"`, and finds the generated `conanbuild.sh` as proof the install
executed. `CONAN_HOME` is restored afterwards; the test skips when `conan` is absent.
- Full CTest with conan available: **8 / 8 passed** in 241.62 s.
## 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).