Tests: format debug-layer SKIPPED lines in e2e.rs for scripts/test.ps1 #2489
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2489
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2489"
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?
@microwave805 on GitHub · 2026-11-25 20:09 UTC · original
microwave805:tests-e2e-debug-layer-skip-format→main· +16 −1 · 1 files · 1 commits · openscripts/test.ps1counts skipped tests using^SKIPPED \S+: (.+)$, which requires a single non-whitespace token before:(matchingrunner::skip_testandtexture_states.rs). Incrates/xcl/tests/e2e.rs,title_under_the_debug_layerprintedSKIPPED the title under the debug layer (dred: {dred}): no {dll}, whose spaces before:causedscripts/test.ps1to silently drop those skips from its summary on machines withoutd3d12SDKLayers.dllorxgameruntime.dll.What is in it
crates/xcl/tests/e2e.rs(title_under_the_debug_layer) to emitSKIPPED <test>: no <dll>using the current test thread name (falling back totitle_under_the_debug_layer), matchingrunner::skip_testandscripts/test.ps1.debug_layer_skip_line_matches_test_ps1_patternverifying theSKIPPED \S+: <reason>format.Tested
32.0.16.1742, wave32 + SM 6.6, no native wave64), DXC1.9.2602.17(Windows SDK10.0.26100.0), Rust1.100.0(stable-x86_64-pc-windows-msvc), debug profile, tested on commit9a85479b74c6.cargo test -p xcl --test e2e -- --nocapture: 5 passed, 0 failed, 0 ignored..\scripts\test.ps1(withXCL_DXIL_CACHE=%TEMP%\xcl-test-dxil-cache): 1418 passed, 0 failed, 46 ignored (26SKIPPEDlines on this adapter: 21no wave64, 3 per-lane wave32 unsupported-op skips, 1no heap windows, 1cannot disable the driver cache (Windows Developer Mode is required)).Regression run
Not needed: test-only change under
crates/xcl/tests/(no runtime files modified).Not tested
d3d12SDKLayers.dllorxgameruntime.dll(both DLLs are installed on this host, so both debug-layer e2e tests ran to completion; the skip formatting helper is verified bydebug_layer_skip_line_matches_test_ps1_pattern).XCL_SAMPLE_*game-data tests (no unpacked Xbox Series game files available).AI use
Gemini 4 Neon).crates/xcl/tests/e2e.rs, ran the targeted and full workspace test suites on commit9a85479b74c6, and drafted this PR description.`scripts/test.ps1` counts skipped tests with `^SKIPPED \S+: (.+)$`, expecting a single non-whitespace test identifier before `: ` (as `runner::skip_test` and `texture_states.rs` emit). `crates/xcl/tests/e2e.rs` printed `SKIPPED the title under the debug layer (dred: {dred}): no {dll}` when `d3d12SDKLayers.dll` or `xgameruntime.dll` was absent, which contains spaces before `:` and was silently missed by `scripts/test.ps1`'s skipped-test summary. Use the current test thread name (matching `runner::skip_test`) in `SKIPPED <test>: no <dll>` and add a regression test for the format. Assisted-by: Antigravity (Gemini 4 Neon)@SlopTart on GitHub · 2026-11-25 20:52 UTC · original
gpu_suite (cold cache): 164 passed / 3 failed, no crashes. The three are the known baseline on this lane (seed-1003 fuzz, mad/mac contraction, promoted-UAV-clear driver gap, PR #2490); none caused by this PR.@DavidM1911 on GitHub · 2026-11-25 20:53 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@RavenCurseBurg on GitHub · 2026-11-25 23:36 UTC · original · edited 2026-11-25 23:42 UTC
I replayed the parent and PR message formats through the actual
scripts/test.ps1from9a85479b74c66dd1b8b241dbee79630c49d6246f. A native Cargo stand-in wrote to stderr using the two test-thread names and DLL names taken frome2e.rs. Each replay included a fallback thread name and an unrelatedno wave64message as a control.6d051da1 (no wave64)9a854793 (no d3d12SDKLayers.dll),2 (no xgameruntime.dll),1 (no wave64)All six input lines appeared in the raw log in both cases. Both summaries were identical for child exit 0 and 101, and the runner returned the original exit code in all eight runs. Standalone replay script. From a checkout containing this PR and its parent, run
python -B verification/replay_debug_layer_skips.pyfrom that fork commit.Windows 11, Core i7-13700, Windows PowerShell 5.1 and PowerShell 7.6.9, Python 3.14.3. The test replays the formatted Rust messages. It does not execute the Rust e2e binary or remove either system DLL. OpenAI Codex (GPT-6) prepared the script and ran it.
View 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.