Repository navigation
Scripts: summarize live and saved test results - #2304
jeroenhaentjens wants to merge 1 commit into
Conversation
|
Retest of the author's updated branch, commit On
Cherry-pickable fix and regression test. The new two-line fixture failed on the PR head in both shells. With the fix, all 12 longer fixture comparisons produced the warning and preserved the results. Windows 11 26100.9711, i7-13700, RTX 4060. No real Cargo suite, GPU workload or retail run. OpenAI Codex (GPT-6) ran the checks, wrote the patch and prepared this report. Interaction with #2295. Its two |
|
I found a skip-count difference between the live and saved-log scripts on Tested
Not tested Other shells, actual GPU execution and the workspace test suite. AI use OpenAI Codex (GPT-6.2 Sol) prepared the fixture, ran the checks and wrote this report. |
|
Thanks @nnonno91 and @RavenCurseBurg. Both reported cases are reproduced and fixed in Tested: Windows 11 Pro 26200, i7-9750H; PowerShell 5.1.26100.9818 and 7.6.9. The new regressions fail before their fixes. After: 7 live cases, 8 saved-log cases and the native-stderr fixture pass per shell, no skips. The Not tested: No new GPU or retail run; the earlier full-suite result and its known ExecuteIndirect failure remain explicitly listed in the description, so this stays draft. This update changes no Rust sources. AI use: Codex with subagents (exact model identifier unavailable) implemented/reviewed the changes and ran these checks; supplied patches retain their OpenAI Codex (GPT-6) disclosure. |
Cargo prints a result for each test suite, so contributors currently add the counts manually. This adds combined totals to
scripts/test.ps1and a command for summarizing saved logs without rerunning tests.What is in it
SKIPPEDrecords.scripts/summarize-tests.ps1 -LiteralPath test.log [-Json]reads UTF-8/UTF-16 logs and reports totals, skip records, named failures and missing sample inputs. It rejects logs without completed summaries and warns about unmatched suite starts, including captures beginning at an earlier suite's result. Repeated runs are summed; skips are not subtracted from passed counts.--lockedfixture compatibility incorporate 8ee110ff and 6f922ece, with cyriczhang credited as co-author.Tested
30cbbf00c861909ec4a71e3fcfd70b691de99b4d, based on1a0bbe3. Windows 11 Pro 26200, i7-9750H, 32 GB RAM, NVIDIA Quadro RTX 3000 (32.0.15.9706), Intel UHD 630 also present, Rust/Cargo 1.100.0, DXC 1.9.2609.5.scripts/test-totals.tests.ps17 passed,scripts/summarize-tests.tests.ps18 passed, andscripts/test-native-stderr.tests.ps1passed; 0 failed or skipped. Both reported regressions failed against the original script before fixing them. The live fixture also passes with--lockedand correctly rejects a deliberately dropped forwarded argument.python -m unittest discover -s scripts -p 'test_*.py': 25 passed.git diff --check: passed.320d27f(the Rust sources are unchanged in this update):cargo build --workspace --lockedpassed;cargo test --workspace --locked --no-fail-fast -- --test-threads=4reported 1,249 passed, 1 failed, 46 ignored, exit 101. Failure:hle::d3d12x::bind::tests::execute_indirect_reads_the_arguments_written_before_it, also present in an earlier baseline; its separate test-setup correction is Tests: honor the selected adapter in the indirect argument test #2318. Debug build, symbols/incremental disabled,XCL_ADAPTER=nvidia,XCL_HEAP_WINDOWS=1, no sample inputs. 26 SKIPPED records: native-wave64 limits, unsupported f16, missing debug layer and unavailable cache control. This PR remains draft because that full-suite run is not green.Not tested
AI use