Repository navigation
Conversation
Preserve the manually checked build/test exit codes and missing-Cargo behavior as subprocess regression cases. Verify the Cargo phase sequence and keep the native stderr regression covered in both PowerShell generations. Assisted-by: Codex (GPT-6; exact model variant unavailable)
|
Tested Tested
Not tested
AI use: Claude Code with Claude Opus 5.5 (ran the tests and wrote this report). |
|
Verified Tested
PowerShell 5.1 initially blocked the unsigned script. The process-only override above allowed it to run; no persistent execution-policy setting was changed. Not tested AI use |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Tested With the original fixture and runner, the two ordinary-path runs passed. The other six shell/path combinations stopped in the success control. A bracketed checkout failed at Candidate fix and regression case: all 32 checks passed (4 Cargo cases × 4 path combinations × 2 shells). Success, build exit 17, test exit 101 and missing Cargo exit 1 all retained the expected invocation sequence; no fixture directories remained. On main's runner, the revised success control also failed in both shells before the one-line literal-directory change and all four controls passed in each shell after it. Commands: |
The runner's regression test covered successful stderr output, but failure codes and missing Cargo were checked only manually in #185. Add permanent cases to catch failures being reported as success.
Complements #279, which adds CI execution of this script.
What is in it
scripts/test-native-stderr.tests.ps1: run each case in a fresh instance of the same PowerShell. Check success, build exit 17 without starting tests, test exit 101, and missing Cargo exit 1 with a diagnostic.Tested
29e66d46e5a2869901d9b65f3f26427b07673111.powershell.exe/pwsh.exe -NoProfile -File scripts/test-native-stderr.tests.ps1: all four cases pass under PowerShell 5.1.26100.9444 and 7.6.9. Both also pass with the CI-style caller& <script>; exit $LASTEXITCODE.scripts/test.ps1(cargo build --workspace,cargo test --workspace -- --test-threads=4): 651 passed, 0 failed, 40 ignored.gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no native wave64).git diff --check: clean.Regression run
Not tested
XCL_SAMPLE_*variables are unset; their early returns and the GPU skips remain included in libtest's passed count.AI use