tombox-xshader tests: skip when local shader fixtures are absent #13
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator!13
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/13/head"
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?
@artareias on GitHub · 2026-11-21 17:17 UTC · original
artareias:skip-tests-without-local-fixtures→main· +46 −1 · 3 files · 56 commits · closed without mergingProblem
tombox-xshader'samp,fixturesandmeshtests read shader dumps fromanalysis/shaders, which CONTRIBUTING.md says must never be committed. On a clean checkout that directory does not exist, so 11 tests panic withmissing fixture ....Change
gta_mesh_programs_extract_with_mesh_runtime_infouseslet Some(dir) = gta_dir() else { ... return }instead ofexpect.Not changed on purpose: the GPU mesh tests that assert a mesh-capable adapter (they tell you to rerun with
TOMBOX_EXEC_HW=1).Testing
cargo test -p tombox-xshader --test amp --test fixtures --test meshon a clean clone (Windows 11, MSVC, noanalysis/): amp 4/4 and fixtures 6/6 pass, mesh 10/14 pass. The 4 remaining failures are unrelated to this change:MeshShaderTier 0, by design).mesh_refusals_are_explicitfails atmesh.rs:247: a mesh shader withpayload_bytes = 16is no longer refused, which looks like a stale expectation now thathlsl/mesh.rshandles payloads. Not touched here.🤖 Generated with Claude Code
@omonkeyz on GitHub · 2026-11-22 13:18 UTC · original
Main's history was rewritten, which auto-closed this PR. Main already covers this: the fixture tests are #[ignore]d unless the tombox_fixtures_* cfg is set (
1fc8683), so a clean checkout passes. Thanks!@copilot-pull-request-reviewer[bot] on GitHub · 2026-11-21 17:17 UTC · original · reviewed
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Pull request closed