Skip to content

Commit 9887c77

Browse files
committed
Skip bootstrap tests on CI
1 parent c501499 commit 9887c77

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
@@ -1856,6 +1856,10 @@ mod snapshot {
18561856
let ctx = TestCtx::new();
18571857
insta::assert_snapshot!(
18581858
ctx.config("test")
1859+
// Skip bootstrap tests, as for some reason the recursive nature of running
1860+
// bootstrap tests under bootstrap tests causes non-deterministic snapshot diffs
1861+
// on CI.
1862+
.args(&["--skip", "bootstrap"])
18591863
.render_steps(), @r"
18601864
[build] rustc 0 <host> -> Tidy 1 <host>
18611865
[test] tidy <>

0 commit comments

Comments
 (0)