Tests: allow a prebuilt HLE probe DLL in loader integration tests #989
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#989
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@sigonor90 on GitHub · 2026-11-24 14:42 UTC · original
Problem
The victory-loader integration test loads_binds_and_calls_probe builds its HLE probe fixture by invoking Cargo at runtime.
When running Windows-targeted tests on Linux through Wine, the test executable attempts to launch the Linux Cargo binary from the Windows test process. This prevents the integration test from running in this environment.
Proposed change
This patch adds an optional VICTORY_HLE_PROBE_DLL environment variable to build_probe().
When set, the test uses the supplied prebuilt DLL.
The path is checked before use.
When unset, the existing behavior is preserved: the fixture is built through Cargo as before.
This keeps the normal Windows CI workflow unchanged while allowing cross-platform test runners to provide a Windows fixture built in advance.
Validation
Tested on Fedora Linux with Wine, targeting x86_64-pc-windows-msvc.
victory-loader package tests: 25 passed, 0 failed.
Integration tests in load_probe: 2 passed, 0 failed.
The HLE probe DLL was built separately for the Windows MSVC target.
This is a test-infrastructure change. It does not modify loader behavior or claim official Linux/Wine support.
Patch
Commit: 90064d05b403cf9532a2a97a245cfb43faa12191
Branch: test/wine-prebuilt-probe
I'd appreciate maintainer feedback on whether this approach is suitable for the project.
@Marvisak on GitHub · 2026-11-25 06:57 UTC · original
Automated triage for the maintainers.
mainhas noVICTORY_HLE_PROBE_DLL: the loader'sload_probeintegration test always builds the probe fixture through Cargo. Open PR #1631 ("Tests: allow prebuilt HLE probe DLL via VICTORY_HLE_PROBE_DLL", which names this issue) carries this change together with the GNU delay-load flag from #903, so review can continue there. It is a test-infrastructure change for running the Windows tests under Wine. The project supports Windows hosts, so whether to take it is for the maintainers.Generated by Claude Code