test(victory-gpu): pin the console model's declared memory, compute units and name #612
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/612"
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 LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T13:27:08Z.
Test-only change:
crates/victory-gpu/src/console.rs(the Series X/S model the title sizes itself by) had no tests.What the tests pin
Console::SeriesX:title_memory() == (10 GiB, 3.5 GiB),compute_units() == 52,name() == "Xbox Series X".Console::SeriesS:title_memory() == (0, 7776 MiB),compute_units() == 20,name() == "Xbox Series S".set/currentround trip (kept in a single test because the flag is process-global).Testing
cargo test -p victory-gpu --lib console::— 3 passcargo test -p victory-hle -p victory -p victory-gpu -p xtask(host arm64) — all passcargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings— cleancargo xtask policy— 404 files okChecklist
vibe/console-tests-1705acfromupstream/main, pushed to my fork onlyView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.