Skip to content

Conversation

@RalfJung
Copy link
Member

@RalfJung RalfJung commented Jul 1, 2022

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.


## Handle some commands early, since they should *not* alter the environment.
case "$COMMAND" in
many-seeds)
Copy link
Contributor

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

Copy link
Member Author

@RalfJung RalfJung Jul 1, 2022

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" => ... }

Copy link
Contributor

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.

@RalfJung
Copy link
Member Author

RalfJung commented Jul 1, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Jul 1, 2022

📌 Commit 9bc7938 has been approved by RalfJung

@bors
Copy link
Contributor

bors commented Jul 1, 2022

⌛ Testing commit 9bc7938 with merge 5815d8d...

@bors
Copy link
Contributor

bors commented Jul 1, 2022

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 5815d8d to master...

@bors bors merged commit 5815d8d into rust-lang:master Jul 1, 2022
@RalfJung RalfJung deleted the miri-script branch July 1, 2022 17:41
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.

3 participants