Skip bootstrap tests on CI

This commit is contained in:
Jakub Beránek 2025-08-20 18:05:22 +02:00
parent b53d532a38
commit 425c66ecdc
No known key found for this signature in database
GPG key ID: 909CD0D26483516B
2 changed files with 5 additions and 1 deletions

View file

@ -1539,7 +1539,7 @@ tool_rustc_extended!(Rustfmt {
add_bins_to_sysroot: ["rustfmt"]
});
pub const TEST_FLOAT_PARSE_ALLOW_FEATURES: &'static str = "f16,cfg_target_has_reliable_f16_f128";
pub const TEST_FLOAT_PARSE_ALLOW_FEATURES: &str = "f16,cfg_target_has_reliable_f16_f128";
impl Builder<'_> {
/// Gets a `BootstrapCommand` which is ready to run `tool` in `stage` built for

View file

@ -2042,6 +2042,10 @@ mod snapshot {
let ctx = TestCtx::new();
insta::assert_snapshot!(
ctx.config("test")
// Skip bootstrap tests, as for some reason the recursive nature of running
// bootstrap tests under bootstrap tests causes non-deterministic snapshot diffs
// on CI.
.args(&["--skip", "bootstrap"])
.render_steps(), @r"
[build] rustc 0 <host> -> Tidy 1 <host>
[test] tidy <>