tests: enforce DXIL validator loading in strict VALU builds #132
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/132"
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?
Imported from uiliannn/VItoriaBr. Originally posted by lmouz823-lang on 2026-11-27T15:29:24Z.
Summary
Fixes #131.
valu_tests::build_cssilently ignored a validator DLL load error even withVICTORY_STRICT_TESTS=1, so a strict run could pass without DXIL validation or the container-hash check. Route that error through the existing skip policy:One test helper changes (+8/-5). The separate wave-test helper and production runtime are outside this fix.
Evidence
The existing exact test
emit::valu_tests::packed_add_selects_halves_of_inline_constantsran in fresh processes on Windows 11, Rust 1.98.1 MSVC, RTX 4060 Laptop (610.88) and WARP. Base:15779f8197fe846b0cdf4509c15a8ef00433e216.VICTORY TEST SKIPPED: DXIL validation unavailable(partial validation)Reproduce each configuration with this exact command (requires the project's Windows build prerequisites):
git diff --checkpasses;cargo run --release --locked -p xtask -- policyreportsasset policy: 198 files ok. Independent review found no issues. Whole-file rustfmt check exits 1 on both base and patch with the same pre-existing formatting differences; this patch adds none. Full workspace CI and game performance were not tested locally.Merge Danger
Door: two-way. A single test-helper change can be reverted.
Blast Radius: tests. Strict callers of this helper now require a loadable DXIL validator, as intended; ordinary runs gain a diagnostic. No runtime code or game data changes.
AI assistance: Codex implemented the patch, ran the checks and drafted this report.
Pull request closed