Skip to content

Let the test-case runner compare Windows runs - #1729

Merged
abrignoni merged 1 commit into
mainfrom
fix/test-harness-windows
Oct 16, 2026
Merged

abrignoni merged 1 commit into
mainfrom
fix/test-harness-windows

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

On Windows the test-case runner failed 20 units whose only difference was path separators, and it could crash before finishing.

  • The core reports extraction-relative paths with the platform separator, so on Windows backslashes now compare as forward slashes on both sides. Linux and macOS still compare them as recorded.
  • A detail line holding a character the console code page cannot print no longer ends the run.
  • get_last_commit_info records "unknown" when git is not installed instead of raising.
  • The new unit tests also run in the Windows smoke job.

Checked on a Windows 11 ARM64 VM with #1727 applied and the separate Opera fix: 122 pass, 0 fail (was 100 pass, 22 fail).

🤖 Generated with Claude Code

The core reports extraction-relative paths with the platform's separator, so
every unit with a path column failed against baselines recorded on macOS or
Linux. On Windows, backslashes now compare as forward slashes on both sides;
other platforms compare them as recorded.

Two crashes go with it: a detail line holding a character the console code
page cannot encode ended the run, and get_last_commit_info raised when git was
not installed instead of recording "unknown".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
abrignoni added a commit that referenced this pull request Oct 16, 2026
#1729 also adds a step at the end of windows_smoke.yml, so the two PRs
conflicted there. With this step placed earlier they merge cleanly in
either order.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit a9176ad into main Oct 16, 2026
9 checks passed
@abrignoni
abrignoni deleted the fix/test-harness-windows branch October 16, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant