Skip to content

Commit 425c66e

Browse files
committed
Skip bootstrap tests on CI
1 parent b53d532 commit 425c66e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/bootstrap/src/core/build_steps/tool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ tool_rustc_extended!(Rustfmt {
15391539
add_bins_to_sysroot: ["rustfmt"]
15401540
});
15411541

1542-
pub const TEST_FLOAT_PARSE_ALLOW_FEATURES: &'static str = "f16,cfg_target_has_reliable_f16_f128";
1542+
pub const TEST_FLOAT_PARSE_ALLOW_FEATURES: &str = "f16,cfg_target_has_reliable_f16_f128";
15431543

15441544
impl Builder<'_> {
15451545
/// Gets a `BootstrapCommand` which is ready to run `tool` in `stage` built for

src/bootstrap/src/core/builder/tests.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2042,6 +2042,10 @@ mod snapshot {
20422042
let ctx = TestCtx::new();
20432043
insta::assert_snapshot!(
20442044
ctx.config("test")
2045+
// Skip bootstrap tests, as for some reason the recursive nature of running
2046+
// bootstrap tests under bootstrap tests causes non-deterministic snapshot diffs
2047+
// on CI.
2048+
.args(&["--skip", "bootstrap"])
20452049
.render_steps(), @r"
20462050
[build] rustc 0 <host> -> Tidy 1 <host>
20472051
[test] tidy <>

0 commit comments

Comments
 (0)