Skip to content

Commit 6c93dfb

Browse files
committed
Skip bootstrap tests on CI
1 parent d1e94e1 commit 6c93dfb

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
@@ -1995,6 +1995,10 @@ mod snapshot {
19951995
let ctx = TestCtx::new();
19961996
insta::assert_snapshot!(
19971997
ctx.config("test")
1998+
// Skip bootstrap tests, as for some reason the recursive nature of running
1999+
// bootstrap tests under bootstrap tests causes non-deterministic snapshot diffs
2000+
// on CI.
2001+
.args(&["--skip", "bootstrap"])
19982002
.render_steps(), @r"
19992003
[build] rustc 0 <host> -> Tidy 1 <host>
20002004
[test] tidy <>

0 commit comments

Comments
 (0)