Scripts: summarize live and saved test results #2294

Open
jeroenhaentjens wants to merge 1 commit from upstream-pr/2304 into main
jeroenhaentjens commented 2026-11-25 13:18:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by jeroenhaentjens on 2026-11-25T13:18:13Z.


Cargo prints a result for each test suite, so contributors currently add the counts manually. This adds combined totals to scripts/test.ps1 and a command for summarizing saved logs without rerunning tests.

What is in it

  • The live runner totals completed suites, preserves Cargo's exit code and source output, strips ANSI colors for parsing, and counts both standalone and inline SKIPPED records.
  • 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.
  • README and fixture tests in Windows CI under PowerShell 5.1 and 7. The incomplete-capture fix and optional --locked fixture compatibility incorporate 8ee110ff and 6f922ece, with cyriczhang credited as co-author.

Tested

  • Updated fork commit: 30cbbf00c861909ec4a71e3fcfd70b691de99b4d, based on 1a0bbe3. 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.
  • New checks on this revision, with both Windows PowerShell 5.1.26100.9818 and PowerShell 7.6.9: scripts/test-totals.tests.ps1 7 passed, scripts/summarize-tests.tests.ps1 8 passed, and scripts/test-native-stderr.tests.ps1 passed; 0 failed or skipped. Both reported regressions failed against the original script before fixing them. The live fixture also passes with --locked and correctly rejects a deliberately dropped forwarded argument.
  • Two stored full-suite logs replayed through fixture Cargo and the saved-log command per shell: 1249/1/46/26 and 1265/0/46/28 passed/failed/ignored/skip records. Live and saved totals and skip groups match; original exit statuses are preserved and source SHA-256 hashes unchanged. These are log replays, not new GPU runs.
  • python -m unittest discover -s scripts -p 'test_*.py': 25 passed. git diff --check: passed.
  • Earlier full workspace run on 320d27f (the Rust sources are unchanged in this update): cargo build --workspace --locked passed; cargo test --workspace --locked --no-fail-fast -- --test-threads=4 reported 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 #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

  • No new GPU suite or retail smoke for this script-only revision, other GPUs, ignored tests or missing sample-data checks. Remote CI requires maintainer approval. Successfully summarizing a log does not prove that its original command succeeded or completed.

AI use

  • Codex, with subagents, wrote the implementation, tests and description and ran the validation; exact model identifier unavailable. The credited contributor patches disclose OpenAI Codex (GPT-6).
<!-- greyfinch-sync:ivall/xcl:issue:5492093837 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2304). Originally posted by [jeroenhaentjens](https://github.com/jeroenhaentjens) on 2026-11-25T13:18:13Z. --- Cargo prints a result for each test suite, so contributors currently add the counts manually. This adds combined totals to `scripts/test.ps1` and a command for summarizing saved logs without rerunning tests. **What is in it** - The live runner totals completed suites, preserves Cargo's exit code and source output, strips ANSI colors for parsing, and counts both standalone and inline `SKIPPED` records. - `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. - README and fixture tests in Windows CI under PowerShell 5.1 and 7. The incomplete-capture fix and optional `--locked` fixture compatibility incorporate [8ee110ff](https://github.com/RavenCurseBurg/xcl/commit/8ee110ff09bd092383ed284ad11d47448472745b) and [6f922ece](https://github.com/RavenCurseBurg/xcl/commit/6f922ece4b485b3cdc34441965658b1feeb86de3), with cyriczhang credited as co-author. **Tested** - Updated fork commit: [`30cbbf00c861909ec4a71e3fcfd70b691de99b4d`](https://github.com/jeroenhaentjens/xcl/commit/30cbbf00c861909ec4a71e3fcfd70b691de99b4d), based on `1a0bbe3`. 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. - New checks on this revision, with both Windows PowerShell 5.1.26100.9818 and PowerShell 7.6.9: `scripts/test-totals.tests.ps1` **7 passed**, `scripts/summarize-tests.tests.ps1` **8 passed**, and `scripts/test-native-stderr.tests.ps1` passed; 0 failed or skipped. Both reported regressions failed against the original script before fixing them. The live fixture also passes with `--locked` and correctly rejects a deliberately dropped forwarded argument. - Two stored full-suite logs replayed through fixture Cargo and the saved-log command per shell: **1249/1/46/26** and **1265/0/46/28** passed/failed/ignored/skip records. Live and saved totals and skip groups match; original exit statuses are preserved and source SHA-256 hashes unchanged. These are log replays, not new GPU runs. - `python -m unittest discover -s scripts -p 'test_*.py'`: **25 passed**. `git diff --check`: passed. - Earlier full workspace run on `320d27f` (the Rust sources are unchanged in this update): `cargo build --workspace --locked` passed; `cargo test --workspace --locked --no-fail-fast -- --test-threads=4` reported **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 #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** - No new GPU suite or retail smoke for this script-only revision, other GPUs, ignored tests or missing sample-data checks. Remote CI requires maintainer approval. Successfully summarizing a log does not prove that its original command succeeded or completed. **AI use** - Codex, with subagents, wrote the implementation, tests and description and ran the validation; exact model identifier unavailable. The credited contributor patches disclose OpenAI Codex (GPT-6).
RavenCurseBurg commented 2026-11-25 14:10:14 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by RavenCurseBurg on 2026-11-25T14:05:47Z.


Retest of the author's updated branch, commit 30cbbf00c861909ec4a71e3fcfd70b691de99b4d. Confirmed the leading-result regression now passes and the live runner handles the inline skip case. I ran scripts/test-totals.tests.ps1 (7 cases), scripts/summarize-tests.tests.ps1 (8 cases), and scripts/test-native-stderr.tests.ps1 on Windows PowerShell 5.1.26100.9711 and PowerShell 7.6.9. All three scripts exited 0 in each shell. This was a CPU-only fixture run on Windows 11 26100.9711; no real Cargo, GPU or retail run. OpenAI Codex (GPT-6) ran this retest. Thank you for integrating the patches.

On 320d27f260454525eef96e2ef7a8c4c427c9deb6, the saved-log command can miss the incomplete-run warning when capture starts after the first suite’s start line. The shortest fixture I tested was two lines:

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;
running 1 test

scripts\summarize-tests.ps1 -LiteralPath <log> -Json correctly counted the two passes, but the notes did not flag the unfinished suite. I also checked a longer fixture containing a named failure, a skip, an empty completed suite and a final suite start. Removing only the first start line made the warning disappear in UTF-8, UTF-16 LE and UTF-16 BE under both Windows PowerShell 5.1.26100.9711 and PowerShell 7.6.9. Totals, failure names, skip records and input file hashes were preserved.

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. scripts\summarize-tests.tests.ps1 (8 cases) and scripts\test-totals.tests.ps1 (6 cases, fixture Cargo) passed in each shell.

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 --locked commands preserve the forwarded test arguments but trip the live-runner fixture’s literal argument check on this head. The one-line test fix passed all six cases with either runner in both shells and still rejected dropped arguments. Commands and results on #2295.

Follow-up on the latest review

I reproduced review 6068854728 using a saved two-test fixture in Windows PowerShell 5.1 and PowerShell 7. In both shells the original JSON reported one failure and an empty name list for the terse log. Pretty output already named the failure.

The candidate reports unit::sample in both JSON and text for the ANSI-colored terse fixture, and keeps the pretty result. The checked-in suite passed all eight checks in each shell, including the new terse case with a spaced doctest name. The fixture follows Rust's terse formatter. I used saved logs and did not run Rust tests.

Candidate commit 46832a7e is based directly on 320d27f26045. Reproduce with ./scripts/summarize-tests.tests.ps1. OpenAI Codex (GPT-6) prepared the fix and ran these Windows CPU fixtures. No game, GPU benchmark or workspace build.

<!-- greyfinch-sync:ivall/xcl:comment:7164750070 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2304#issuecomment-7164750070). Originally posted by [RavenCurseBurg](https://github.com/RavenCurseBurg) on 2026-11-25T14:05:47Z. --- **Retest of the author's updated branch, commit `30cbbf00c861909ec4a71e3fcfd70b691de99b4d`.** Confirmed the leading-result regression now passes and the live runner handles the inline skip case. I ran `scripts/test-totals.tests.ps1` (7 cases), `scripts/summarize-tests.tests.ps1` (8 cases), and `scripts/test-native-stderr.tests.ps1` on Windows PowerShell 5.1.26100.9711 and PowerShell 7.6.9. All three scripts exited 0 in each shell. This was a CPU-only fixture run on Windows 11 26100.9711; no real Cargo, GPU or retail run. OpenAI Codex (GPT-6) ran this retest. Thank you for integrating the patches. On `320d27f260454525eef96e2ef7a8c4c427c9deb6`, the saved-log command can miss the incomplete-run warning when capture starts after the first suite’s start line. The shortest fixture I tested was two lines: ```text test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; running 1 test ``` `scripts\summarize-tests.ps1 -LiteralPath <log> -Json` correctly counted the two passes, but the notes did not flag the unfinished suite. I also checked a longer fixture containing a named failure, a skip, an empty completed suite and a final suite start. Removing only the first start line made the warning disappear in UTF-8, UTF-16 LE and UTF-16 BE under both Windows PowerShell 5.1.26100.9711 and PowerShell 7.6.9. Totals, failure names, skip records and input file hashes were preserved. [Cherry-pickable fix and regression test](https://github.com/RavenCurseBurg/xcl/commit/8ee110ff09bd092383ed284ad11d47448472745b). 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. `scripts\summarize-tests.tests.ps1` (8 cases) and `scripts\test-totals.tests.ps1` (6 cases, fixture Cargo) passed in each shell. 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 `--locked` commands preserve the forwarded test arguments but trip the live-runner fixture’s literal argument check on this head. The [one-line test fix](https://github.com/RavenCurseBurg/xcl/commit/6f922ece4b485b3cdc34441965658b1feeb86de3) passed all six cases with either runner in both shells and still rejected dropped arguments. [Commands and results on #2295](https://github.com/xcl-dev/xcl/pull/2295#issuecomment-7166316308). **Follow-up on the latest review** I reproduced review 6068854728 using a saved two-test fixture in Windows PowerShell 5.1 and PowerShell 7. In both shells the original JSON reported one failure and an empty name list for the terse log. Pretty output already named the failure. The candidate reports `unit::sample` in both JSON and text for the ANSI-colored terse fixture, and keeps the pretty result. The checked-in suite passed all eight checks in each shell, including the new terse case with a spaced doctest name. The fixture follows [Rust's terse formatter](https://doc.rust-lang.org/src/test/formatters/terse.rs.html#49-63). I used saved logs and did not run Rust tests. [Candidate commit 46832a7e](https://github.com/RavenCurseBurg/xcl/commit/46832a7e34cb35965fa448ea1fd26e096a36369e) is based directly on `320d27f26045`. Reproduce with `./scripts/summarize-tests.tests.ps1`. OpenAI Codex (GPT-6) prepared the fix and ran these Windows CPU fixtures. No game, GPU benchmark or workspace build.
nnonno91 commented 2026-11-25 15:07:46 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by nnonno91 on 2026-11-25T14:19:57Z.


I found a skip-count difference between the live and saved-log scripts on 320d27f260454525eef96e2ef7a8c4c427c9deb6.

Tested

  • Windows 11 25H2 build 26200.9974, Ryzen 7 9800X3D, Windows PowerShell 5.1 and PowerShell 7.6.9. Ran scripts/test-totals.tests.ps1 and scripts/summarize-tests.tests.ps1 in each shell. All 6 live cases and all 7 saved-log cases passed per shell.
  • I then fed the same fixture to scripts/test.ps1 through a stub cargo.cmd (following the checked-in fixture) and directly to scripts/summarize-tests.ps1 -LiteralPath input.txt -Json. The fixture had one standalone skip (SKIPPED gpu_one: no wave64), one inline skip (test gpu_two ... SKIPPED gpu_two: no mesh shaders), and a completed suite with 2 passed.
  • On both shells the live runner printed both source lines but summarized only 1 (no wave64). The saved-log script counted both skips. Both reported 2 passed and exited 0. The fixture's SHA-256 was unchanged.

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.

<!-- greyfinch-sync:ivall/xcl:comment:7165113334 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2304#issuecomment-7165113334). Originally posted by [nnonno91](https://github.com/nnonno91) on 2026-11-25T14:19:57Z. --- I found a skip-count difference between the live and saved-log scripts on `320d27f260454525eef96e2ef7a8c4c427c9deb6`. **Tested** - Windows 11 25H2 build 26200.9974, Ryzen 7 9800X3D, Windows PowerShell 5.1 and PowerShell 7.6.9. Ran `scripts/test-totals.tests.ps1` and `scripts/summarize-tests.tests.ps1` in each shell. All 6 live cases and all 7 saved-log cases passed per shell. - I then fed the same fixture to `scripts/test.ps1` through a stub `cargo.cmd` (following the checked-in fixture) and directly to `scripts/summarize-tests.ps1 -LiteralPath input.txt -Json`. The fixture had one standalone skip (`SKIPPED gpu_one: no wave64`), one inline skip (`test gpu_two ... SKIPPED gpu_two: no mesh shaders`), and a completed suite with 2 passed. - On both shells the live runner printed both source lines but summarized only `1 (no wave64)`. The saved-log script counted both skips. Both reported 2 passed and exited 0. The fixture's SHA-256 was unchanged. **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.
jeroenhaentjens commented 2026-11-25 16:12:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by jeroenhaentjens on 2026-11-25T15:47:50Z.


Thanks @nnonno91 and @RavenCurseBurg. Both reported cases are reproduced and fixed in 30cbbf00c861909ec4a71e3fcfd70b691de99b4d: inline skips now reach the live summary, and a leading result no longer masks a later unfinished suite. I incorporated the supplied incomplete-capture and optional --locked fixture patches and credited cyriczhang as co-author.

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 --locked variant passes; deliberately dropping the forwarded argument fails. Two real stored full-suite logs replay with matching live/saved counts and skip groups in both shells (1249/1/46/26 and 1265/0/46/28 passed/failed/ignored/skips), unchanged hashes and preserved exit statuses. Python script tests: 25 passed; git diff --check passes.

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.

<!-- greyfinch-sync:ivall/xcl:comment:7167322711 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2304#issuecomment-7167322711). Originally posted by [jeroenhaentjens](https://github.com/jeroenhaentjens) on 2026-11-25T15:47:50Z. --- Thanks @nnonno91 and @RavenCurseBurg. Both reported cases are reproduced and fixed in `30cbbf00c861909ec4a71e3fcfd70b691de99b4d`: inline skips now reach the live summary, and a leading result no longer masks a later unfinished suite. I incorporated the supplied incomplete-capture and optional `--locked` fixture patches and credited cyriczhang as co-author. **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 `--locked` variant passes; deliberately dropping the forwarded argument fails. Two real stored full-suite logs replay with matching live/saved counts and skip groups in both shells (1249/1/46/26 and 1265/0/46/28 passed/failed/ignored/skips), unchanged hashes and preserved exit statuses. Python script tests: 25 passed; `git diff --check` passes. **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.
DavidM1911 commented 2026-11-25 18:04:38 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T17:41:10Z.


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!

<!-- greyfinch-sync:ivall/xcl:comment:7169855090 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2304#issuecomment-7169855090). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T17:41:10Z. --- 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!
luckyteagirl commented 2026-11-26 05:10:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T05:10:19Z.

Review: COMMENTED


Could failed_tests also recognize libtest's terse failure line? scripts/test.ps1 forwards --quiet or --format terse, and Rust's terse formatter prints module::case --- FAILED before the completed-suite result. This regex only accepts test module::case ... FAILED, so a complete terse log can report failed=1 with an empty failed_tests array despite the README saying named failures are listed. A terse-log fixture could check both the count and the test name, or the docs could state that names are extracted only from pretty output. Source review at head 320d27f; I did not run the script. AI-assisted with Codex (GPT-6.2 Sol).

<!-- greyfinch-sync:ivall/xcl:review:6068854728 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2304#pullrequestreview-6068854728). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-26T05:10:19Z. **Review:** COMMENTED --- Could `failed_tests` also recognize libtest's terse failure line? `scripts/test.ps1` forwards `--quiet` or `--format terse`, and [Rust's terse formatter](https://doc.rust-lang.org/src/test/formatters/terse.rs.html#L49-L69) prints `module::case --- FAILED` before the completed-suite result. This regex only accepts `test module::case ... FAILED`, so a complete terse log can report `failed=1` with an empty `failed_tests` array despite the README saying named failures are listed. A terse-log fixture could check both the count and the test name, or the docs could state that names are extracted only from pretty output. Source review at head `320d27f`; I did not run the script. AI-assisted with Codex (GPT-6.2 Sol).
RavenCurseBurg commented 2026-11-28 04:36:39 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by RavenCurseBurg on 2026-11-28T04:36:39Z.


I retested the live totals fixture with the runner produced by combining this head (320d27f2) with main e429936c. Before it reached the test output, the fake Cargo returned 127 for main’s benchmark smoke command. The saved-log checks passed independently.

A six-line fixture fix applies directly to this PR. It accepts the benchmark smoke invocation and keeps rejecting unexpected arguments. I ran the six live totals cases against both the PR runner and the combined runner, in Windows PowerShell 5.1 and PowerShell 7. All 24 cases passed. Both shells also rejected a combined runner missing the benchmark’s --test argument. The separate README merge conflict remains.

I used synthetic Cargo output throughout. No Rust build, GPU or game run. AI use — OpenAI Codex (GPT-6) wrote the fixture change and ran the checks.

I also resolved the remaining README conflict in a follow-up commit on the same candidate branch. The saved-report instructions now follow the explanation of skipped tests. Git merged the candidate with main e429936c cleanly. I checked that deleting the PR’s report instructions from the merged README yielded main’s README byte for byte.

On that merge tree I reran the six live-runner and seven saved-log cases in Windows PowerShell 5.1 and PowerShell 7. All 26 cases passed with synthetic inputs. The earlier terse-summary patch also passes git apply --check on this candidate. AI use — OpenAI Codex (GPT-6) updated the documentation and ran the checks.

<!-- greyfinch-sync:ivall/xcl:comment:7234148005 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2304#issuecomment-7234148005). Originally posted by [RavenCurseBurg](https://github.com/RavenCurseBurg) on 2026-11-28T04:36:39Z. --- I retested the live totals fixture with the runner produced by combining this head (`320d27f2`) with main `e429936c`. Before it reached the test output, the fake Cargo returned 127 for main’s benchmark smoke command. The saved-log checks passed independently. A [six-line fixture fix](https://github.com/RavenCurseBurg/xcl/commit/60d90102ca88cf5588948a18a13a594a93fa7cbe) applies directly to this PR. It accepts the benchmark smoke invocation and keeps rejecting unexpected arguments. I ran the six live totals cases against both the PR runner and the combined runner, in Windows PowerShell 5.1 and PowerShell 7. All 24 cases passed. Both shells also rejected a combined runner missing the benchmark’s `--test` argument. The separate README merge conflict remains. I used synthetic Cargo output throughout. No Rust build, GPU or game run. AI use — OpenAI Codex (GPT-6) wrote the fixture change and ran the checks. I also resolved the remaining README conflict in a [follow-up commit](https://github.com/RavenCurseBurg/xcl/commit/8a8e76089bbca4e3dac54a7f93b41070575daed5) on the same candidate branch. The saved-report instructions now follow the explanation of skipped tests. Git merged the candidate with main `e429936c` cleanly. I checked that deleting the PR’s report instructions from the merged README yielded main’s README byte for byte. On that merge tree I reran the six live-runner and seven saved-log cases in Windows PowerShell 5.1 and PowerShell 7. All 26 cases passed with synthetic inputs. The earlier terse-summary patch also passes `git apply --check` on this candidate. AI use — OpenAI Codex (GPT-6) updated the documentation and ran the checks.
Foniass commented 2026-12-01 07:47:47 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:47:47Z.


Triage (#1607) – head 320d27f

#1476 also sums the test result: passed/failed/ignored counts in scripts/test.ps1, but only under -Brief, with the full output going to a log file. This PR prints the totals on every run and adds scripts/summarize-tests.ps1 for saved logs. The two overlap in test.ps1 and would conflict there.
Points from the diff:

  • Main's test.ps1 now runs cargo bench -p xcl --bench '*' -- --test before the tests (a4dbe5c5). The cargo.cmd fixture in test-totals.tests.ps1 exits 127 for anything other than build / test, so every Check-Run would fail after a rebase.
  • summarize-tests.ps1 accepts test <name> ... SKIPPED <name>: ..., but test.ps1 matches only ^SKIPPED, so the two can give different skip counts for the same log.
    Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7304489537 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2304#issuecomment-7304489537). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T07:47:47Z. --- **Triage (#1607)** – head 320d27f #1476 also sums the `test result:` passed/failed/ignored counts in `scripts/test.ps1`, but only under `-Brief`, with the full output going to a log file. This PR prints the totals on every run and adds `scripts/summarize-tests.ps1` for saved logs. The two overlap in `test.ps1` and would conflict there. Points from the diff: - Main's `test.ps1` now runs `cargo bench -p xcl --bench '*' -- --test` before the tests (a4dbe5c5). The `cargo.cmd` fixture in `test-totals.tests.ps1` exits 127 for anything other than `build` / `test`, so every `Check-Run` would fail after a rebase. - `summarize-tests.ps1` accepts `test <name> ... SKIPPED <name>: ...`, but `test.ps1` matches only `^SKIPPED`, so the two can give different skip counts for the same log. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2304:upstream-pr/2304'
git switch 'upstream-pr/2304'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2304'
git switch 'upstream-pr/2304'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2304'
git switch 'upstream-pr/2304'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2304'
git switch 'main'
git merge --squash 'upstream-pr/2304'
git switch 'main'
git merge --ff-only 'upstream-pr/2304'
git switch 'main'
git merge 'upstream-pr/2304'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
xcl-dev/xcl!2294
No description provided.