mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:30:53 +01:00
[PR #1098] [CLOSED] tests: check the startup argv snapshot on Wine (TEST-CRT-ARGV-WINE) #1134
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1134
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1098
Author: @Moriz82
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:split/test-crt-argv-wine📝 Commits (1)
8bfdb66tests: check the startup argv snapshot on Wine (TEST-CRT-ARGV-WINE)📊 Changes
1 file changed (+19 additions, -3 deletions)
View changed files
📝
runtime/test/fixtures/tiny_startup_cmdline.cpp(+19 -3)📄 Description
Claimed in the coordination issue as: TEST-CRT-ARGV-WINE (claim).
Part of the split of #984 into small pull requests.
Depends on: none
Overlaps: #984 (integration source). No separate open or merged change to this fixture was found.
What and why
The direct reference executable fails before the loader runs. Wine's UCRT can populate both argument vectors before the process-attach callback. The fixture now accepts that state on Wine only when the count, argument widths and each argument match at entry. Both command-line strings still have to match. Native Windows keeps the existing checks for an unconfigured UCRT at attach.
Tested
Cross-built the runtime, fixture DLL and fixture executable with clang-cl 23 and the xwin SDK. The same Proton Experimental prefix and Microsoft Visual C++ 2022 redistributable were used for the red and green runs. The loader used the redistributable's C++ DLLs from its application directory; the fixture still used Proton's UCRT.
94daa515fpassed 0/1 tests. The direct executable returned 1 in the argument case and printedtiny_startup_cmdline: FAIL.Unknown exception. Using the application-local Microsoft C++ runtime preserves the original diagnostic. The negative assertion was retained.GPUs tested: none. This is a CPU fixture.
AI-assisted: yes
Checklist
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.