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

CI: test ./miri bench #2908

Merged
merged 2 commits into from
May 31, 2023
Merged

CI: test ./miri bench #2908

merged 2 commits into from
May 31, 2023

Conversation

RalfJung
Copy link
Member

No description provided.

@oli-obk
Copy link
Contributor

oli-obk commented May 31, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented May 31, 2023

📌 Commit 62175e9 has been approved by oli-obk

It is now in the queue for this repository.

@oli-obk
Copy link
Contributor

oli-obk commented May 31, 2023

@bors r- ah let's wait for the CI timings first

@RalfJung
Copy link
Member Author

Also I'd expect this to break on Windows since we don't have #2877 yet.

python3 snippet used to fill $MIRIDIR variable returns native paths.
Down the line in `bench` subcommand this leads to benchmark setup
failure, preventing contributors from running benchmarks on Windows
hosts.

This commit replaces usage of native os.path module with pathlib, which
explicitly converts paths to Unix flavour.
@RalfJung
Copy link
Member Author

Yes, there we go.

@bors r=oli-obk

@bors
Copy link
Collaborator

bors commented May 31, 2023

📌 Commit ad079dc has been approved by oli-obk

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented May 31, 2023

⌛ Testing commit ad079dc with merge eadeab5...

@bors
Copy link
Collaborator

bors commented May 31, 2023

☀️ Test successful - checks-actions
Approved by: oli-obk
Pushing eadeab5 to master...

1 similar comment
@bors
Copy link
Collaborator

bors commented May 31, 2023

☀️ Test successful - checks-actions
Approved by: oli-obk
Pushing eadeab5 to master...

@bors bors merged commit eadeab5 into rust-lang:master May 31, 2023
@RalfJung RalfJung deleted the bench branch June 2, 2023 08:03
osiewicz added a commit to osiewicz/miri that referenced this pull request Jun 10, 2023
bors added a commit that referenced this pull request Jul 31, 2023
…lfJung

Rewrite miri script in rust

This is a sketch of a rewrite of miri script in Rust. It does not include changes made in #2908 yet. Environment variables are not properly propagated yet, which is something I plan to address.

This PR is mostly a heads-up about the ongoing effort and it's state.
It's definitely not the cleanest code I've seen in my life, but my first goal was feature/interface parity. I will iterate on it a bit before marking it as ready.

I wonder though how this should be integrated/tested. Are you aware of anyone using `./miri` in their scripts?
I guess we should keep existing `miri` script in place and let it run miri-script package directly?

CI should probably `cargo check` this package as well.

Fixes #2883
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Aug 6, 2023
…883, r=RalfJung

Rewrite miri script in rust

This is a sketch of a rewrite of miri script in Rust. It does not include changes made in rust-lang/miri#2908 yet. Environment variables are not properly propagated yet, which is something I plan to address.

This PR is mostly a heads-up about the ongoing effort and it's state.
It's definitely not the cleanest code I've seen in my life, but my first goal was feature/interface parity. I will iterate on it a bit before marking it as ready.

I wonder though how this should be integrated/tested. Are you aware of anyone using `./miri` in their scripts?
I guess we should keep existing `miri` script in place and let it run miri-script package directly?

CI should probably `cargo check` this package as well.

Fixes rust-lang#2883
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.

4 participants