BCPack tests: the reference-chunk test uses the shipped tables #316
No reviewers
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!316
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/316/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?
@SkippySteve on GitHub · 2026-11-24 02:15 UTC · original
SkippySteve/victory-pr-own-next21→main· +8 −5 · 1 files · 1 commits · closed without mergingThe BCPack tables ship in the tree (
bcpack-tables.bin, read byTables::builtin), but the opt-inreference_chunkstest still demandedVICTORY_BCPACK_TABLESand panicked withVICTORY_BCPACK_TABLESwhen it was unset. Anyone with reference chunks had to point it at a copy of a file that already sits beside the code.Now:
VICTORY_BCPACK_CASESis the only required variable; the test usesTables::builtin()by default.VICTORY_BCPACK_TABLESstill works as an override for checking a different table file.#[ignore]reason says what is actually missing (reference chunks outside the repository).Test-only change in
crates/victory-formats/src/bcpack.rs; no decoder code touched.Testing (Linux)
cargo test -p victory-formats: 20 passed, 3 ignoredcargo clippy -p victory-formats --all-targets -- -D warnings: cleancargo xtask policy: okVICTORY_BCPACK_CASES=<dir> cargo test -p victory-formats reference_chunks -- --ignored: passes (it panicked onmain)VICTORY_BCPACK_TABLES=crates/victory-formats/src/bcpack-tables.bin: passes@SkippySteve on GitHub · 2026-11-24 02:32 UTC · original
Folded into #315 to keep the PR count down. The commit is unchanged there.
Pull request closed