-
Notifications
You must be signed in to change notification settings - Fork 428
./miri improvements #2296
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
./miri improvements #2296
Conversation
|
|
||
| ## Handle some commands early, since they should *not* alter the environment. | ||
| case "$COMMAND" in | ||
| many-seeds) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what on earth is this syntax. I have no idea how bash works XD gonna have to trust you here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂 it's the same syntax we already use elsewhere ;) Think match COMMAND { "many-seeds" => ... }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea I assumed that's what it is, but it looks so weird.
|
@bors r+ |
|
📌 Commit 9bc7938 has been approved by |
|
☀️ Test successful - checks-actions |
I have needed to run something with many different seeds often enough that I would like an easier way to do it. ;) So now we have
./miri many-seeds.Also I made the script less dependent on the working directory, so calling it from a different directory should work properly now even if that other directory does not have the same rustup override as the one where Miri lives.