Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

many-seeds: propagate failure properly #3406

Merged
merged 3 commits into from
Mar 24, 2024
Merged

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Mar 24, 2024

Fixes #3405.

@RalfJung
Copy link
Member Author

RalfJung commented Mar 24, 2024

Okay so now it indeed does fail on Windows. But in a strange way:

 Error: io error when running command `./miri run tests/many-seeds/scoped-thread-leak.rs`: %1 is not a valid Win32 application. (os error 193)

@ChrisDenton can Command not spawn scripts on Windows? Would it work to run the batch script instead of the bash script?

@ChrisDenton
Copy link
Member

On Windows you can only reliably run exe files.

rust-lang/rust#94743 has some more details (though ultimately adding support for scripts was not popular)

@RalfJung
Copy link
Member Author

RalfJung commented Mar 24, 2024 via email

@RalfJung
Copy link
Member Author

This might work...
@bors r+

@bors
Copy link
Contributor

bors commented Mar 24, 2024

📌 Commit 5759160 has been approved by RalfJung

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Mar 24, 2024

⌛ Testing commit 5759160 with merge 344ea00...

@bors
Copy link
Contributor

bors commented Mar 24, 2024

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 344ea00 to master...

@bors bors merged commit 344ea00 into rust-lang:master Mar 24, 2024
8 checks passed
@RalfJung RalfJung deleted the many-seeds branch March 24, 2024 18:28
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.

Are our many-seeds tests failing on Windows?
3 participants