Tests: show when shader differential checks are skipped #1144

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

@⁠EatCodeSleep2 on GitHub · 2026-11-24 16:13 UTC · original
EatCodeSleep2:test/report-shader-differential-skips-1140 → main · +19 −9 · 1 files · 1 commits · open

Summary

  • Print a named SKIP line when a shader differential test cannot start because a compiler or a Shader Model 6.6 device is unavailable.
  • Write the marker directly to stderr so it is visible with Cargo's default capture. The standard harness still counts an early return as a pass.

Addresses the silent skips reported in #1140. The change is confined to the test harness.

Verification

  • With VICTORY_CONSOLE_DXC unset, ran cargo test --locked -p victory-shader --lib emit::diff_tests -- --test-threads=1. Upstream printed zero skip markers. The patched run printed four distinct named markers.
  • cargo clippy --locked -p victory-shader --all-targets -- -D warnings passed.

The console compiler was unavailable, so this run verified reporting only. AI-assisted. No game data.

**@⁠EatCodeSleep2** on GitHub · 2026-11-24 16:13 UTC · [original](https://github.com/Marvisak/VIctory/pull/1144) `EatCodeSleep2:test/report-shader-differential-skips-1140` → `main` · +19 −9 · 1 files · 1 commits · open ## Summary - Print a named `SKIP` line when a shader differential test cannot start because a compiler or a Shader Model 6.6 device is unavailable. - Write the marker directly to stderr so it is visible with Cargo's default capture. The standard harness still counts an early return as a pass. Addresses the silent skips reported in #1140. The change is confined to the test harness. ## Verification - With `VICTORY_CONSOLE_DXC` unset, ran `cargo test --locked -p victory-shader --lib emit::diff_tests -- --test-threads=1`. Upstream printed zero skip markers. The patched run printed four distinct named markers. - `cargo clippy --locked -p victory-shader --all-targets -- -D warnings` passed. The console compiler was unavailable, so this run verified reporting only. AI-assisted. No game data.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:21:01 +00:00
Author
Owner

@⁠Zipettte on GitHub · 2026-11-24 18:01 UTC · original

Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 4878152: cargo test -p victory-shader passes, 120 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).

Tested with AI assistance (Claude).

**@⁠Zipettte** on GitHub · 2026-11-24 18:01 UTC · [original](https://github.com/Marvisak/VIctory/pull/1144#issuecomment-7140042626) Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 4878152: `cargo test -p victory-shader` passes, 120 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed). _Tested with AI assistance (Claude)._
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:17 UTC · original

Automated triage for the maintainers.

Needs rebase. This pull request conflicts with main (conflicting: crates/victory-shader/src/emit/diff_tests.rs). It will be reviewed once it is rebased onto the current main.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:17 UTC · [original](https://github.com/Marvisak/VIctory/pull/1144#issuecomment-7149399279) <!-- victory-triage v1 head=48781527f53f033e8863527132902b60eb835560 verdict=needs-rebase at=2026-11-25T01:17:35Z --> Automated triage for the maintainers. **Needs rebase.** This pull request conflicts with `main` (conflicting: `crates/victory-shader/src/emit/diff_tests.rs`). It will be reviewed once it is rebased onto the current `main`. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request has changes conflicting with the target branch.
  • crates/victory-shader/src/emit/diff_tests.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1144'
git switch 'github-bot/gh-1144'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1144'
git switch 'github-bot/gh-1144'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1144'
git switch 'main'
git merge --squash 'github-bot/gh-1144'
git switch 'main'
git merge --ff-only 'github-bot/gh-1144'
git switch 'main'
git merge 'github-bot/gh-1144'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1144
No description provided.