Skip to content

Unset MIRI_BLESS for mir-opt-level 4 miri tests #111809

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

Merged
merged 1 commit into from
May 21, 2023

Conversation

beepster4096
Copy link
Contributor

When running x.py test src/tools/miri --bless, the 2nd test run (with mir-opt-level 4) crashes because it disables ui checking, which is incompatible with blessing. This PR fixes that by not trying to bless that run.

@rustbot
Copy link
Collaborator

rustbot commented May 21, 2023

r? @ozkanonur

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels May 21, 2023
@jyn514
Copy link
Member

jyn514 commented May 21, 2023

r? miri

i think this means it's not possible to bless mir-opt-level=4 tests, is that right? or is the idea that all the tests should be the same regardless of the opt level?

@rustbot rustbot assigned oli-obk and unassigned onur-ozkan May 21, 2023
@beepster4096
Copy link
Contributor Author

Its the same tests, just with opts enabled to catch miscompilations. It wouldn't make sense to bless them twice.

@jyn514
Copy link
Member

jyn514 commented May 21, 2023

@bors r+ rollup

(CI never passes --bless, which is why we never caught this in the first place)

@bors
Copy link
Collaborator

bors commented May 21, 2023

📌 Commit a287d1b has been approved by jyn514

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 21, 2023
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request May 21, 2023
Unset MIRI_BLESS for mir-opt-level 4 miri tests

When running `x.py test src/tools/miri --bless`, the 2nd test run (with mir-opt-level 4) crashes because it disables ui checking, which is incompatible with blessing. This PR fixes that by not trying to bless that run.
bors added a commit to rust-lang-ci/rust that referenced this pull request May 21, 2023
…iaskrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#111745 (Fix overflow in error emitter)
 - rust-lang#111770 (Read beta version from the version file if building from a source tarball)
 - rust-lang#111797 (Migrate GUI colors test to original CSS color format)
 - rust-lang#111809 (Unset MIRI_BLESS for mir-opt-level 4 miri tests)
 - rust-lang#111817 (Migrate GUI colors test to original CSS color format)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit b4752cf into rust-lang:master May 21, 2023
@rustbot rustbot added this to the 1.71.0 milestone May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants