Skip to content

Commit

Permalink
mir-opt tests: don't run a different set on --bless; enable --keep-st…
Browse files Browse the repository at this point in the history
…age-std
  • Loading branch information
Nadrieril committed Mar 9, 2024
1 parent 4282576 commit 047e17d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bootstrap/src/core/build_steps/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,7 @@ impl Step for MirOpt {
})
};

if builder.config.cmd.bless() {
if builder.config.keep_stage_std.is_empty() {
// All that we really need to do is cover all combinations of 32/64-bit and unwind/abort,
// but while we're at it we might as well flex our cross-compilation support. This
// selection covers all our tier 1 operating systems and architectures using only tier
Expand All @@ -1568,6 +1568,7 @@ impl Step for MirOpt {
run(panic_abort_target);
}
} else {
// If we're keeping a std stage, only run tests for this target.
run(self.target);
}
}
Expand Down

0 comments on commit 047e17d

Please sign in to comment.