Skip to content

Commit 047e17d

Browse files
committed
mir-opt tests: don't run a different set on --bless; enable --keep-stage-std
1 parent 4282576 commit 047e17d

File tree

1 file changed

+2
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+2
-1
lines changed

Diff for: src/bootstrap/src/core/build_steps/test.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,7 @@ impl Step for MirOpt {
15491549
})
15501550
};
15511551

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

0 commit comments

Comments
 (0)