test: don't pin the textured material count in vehicle_texture_layers_toggle #46

Manually merged
github merged 1 commit from gh-pr/46/head into gh-pr/46/base 2026-11-27 02:32:45 +00:00
Owner

@⁠asm512 on GitHub · 2026-11-22 20:38 UTC · original
asm512:test-layer-count → main · +2 −1 · 1 files · 1 commits · merged 2026-11-22 21:36 UTC

The test expected exactly 19 textured materials on cheetah2_hi. Textures that can't be decoded now come back as a flat swatch, so 22 materials count as textured and the test fails when PERCYSTAR_LEVELS_RPF is set.

The test is about switching layers on and off, so it now checks for at least 19 rather than an exact number.

**@⁠asm512** on GitHub · 2026-11-22 20:38 UTC · [original](https://github.com/rpatty-dev/PercyStar/pull/46) `asm512:test-layer-count` → `main` · +2 −1 · 1 files · 1 commits · merged 2026-11-22 21:36 UTC The test expected exactly 19 textured materials on cheetah2_hi. Textures that can't be decoded now come back as a flat swatch, so 22 materials count as textured and the test fails when `PERCYSTAR_LEVELS_RPF` is set. The test is about switching layers on and off, so it now checks for at least 19 rather than an exact number.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 02:32:45 +00:00
github manually merged commit 95ee01cb3f into gh-pr/46/base 2026-11-27 02:32:45 +00:00
Author
Owner

@⁠rpatty-dev on GitHub · 2026-11-22 21:36 UTC · original

Merged and verified (cargo test --release: 120 passed). Thanks for updating the layer count assertion for BCPack swatch textures.

**@⁠rpatty-dev** on GitHub · 2026-11-22 21:36 UTC · [original](https://github.com/rpatty-dev/PercyStar/pull/46#issuecomment-7086184320) Merged and verified (cargo test --release: 120 passed). Thanks for updating the layer count assertion for BCPack swatch textures.
This discussion has been locked. Commenting is limited to contributors.
No description provided.