test(victory-gpu): pin the console model's declared memory, compute units and name #616

Open
github-bot wants to merge 1 commit from github-bot/gh-612 into main AGit
Owner

@⁠AnastasisKon on GitHub · 2026-11-28 13:27 UTC · original
AnastasisKon:vibe/console-tests-1705ac → main · +28 −0 · 1 files · 1 commits · open

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/current round trip (kept in a single test because the flag is process-global).

Testing

  • cargo test -p victory-gpu --lib console:: — 3 pass
  • cargo test -p victory-hle -p victory -p victory-gpu -p xtask (host arm64) — all pass
  • cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings — clean
  • cargo xtask policy — 404 files ok

Checklist

  • One change, one PR
  • Branch vibe/console-tests-1705ac from upstream/main, pushed to my fork only
  • No game/GDK files, no dumps/logs in the repo
  • No AI attribution in the diff
**@⁠AnastasisKon** on GitHub · 2026-11-28 13:27 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/612) `AnastasisKon:vibe/console-tests-1705ac` → `main` · +28 −0 · 1 files · 1 commits · open 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`/`current` round trip (kept in a single test because the flag is process-global). ## Testing - [x] `cargo test -p victory-gpu --lib console::` — 3 pass - [x] `cargo test -p victory-hle -p victory -p victory-gpu -p xtask` (host arm64) — all pass - [x] `cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings` — clean - [x] `cargo xtask policy` — 404 files ok ## Checklist - [x] One change, one PR - [x] Branch `vibe/console-tests-1705ac` from `upstream/main`, pushed to my fork only - [x] No game/GDK files, no dumps/logs in the repo - [x] No AI attribution in the diff
console.rs had no tests. The new tests pin Series X (10 GiB GPU-optimal
plus 3.5 GiB standard, 52 CUs, "Xbox Series X"), Series S (0, 7776 MiB,
20 CUs, "Xbox Series S") and the set/current round trip.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 13:34:33 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/616/head:github-bot/gh-612'
git switch 'github-bot/gh-612'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-612'
git switch 'github-bot/gh-612'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-612'
git switch 'github-bot/gh-612'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-612'
git switch 'main'
git merge --squash 'github-bot/gh-612'
git switch 'main'
git merge --ff-only 'github-bot/gh-612'
git switch 'main'
git merge 'github-bot/gh-612'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.