From: Fabian Grünbichler Date: Thu, 25 Sep 2025 07:32:47 +0000 (+0200) Subject: disable bootstrap tests that don't work from tarball sources X-Git-Tag: archive/raspbian/1.91.1+dfsg1-1+rpi1~1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f0e9967c4c1e6cc9b810ddbd985c7ef0c0918bd6;p=rustc.git disable bootstrap tests that don't work from tarball sources Forwarded: not-needed Signed-off-by: Fabian Grünbichler Gbp-Pq: Topic build Gbp-Pq: Name disable-bootstrap-tests-that-don-t-work-from-tarball-sour.patch --- diff --git a/src/bootstrap/src/core/builder/tests.rs b/src/bootstrap/src/core/builder/tests.rs index 2d568f839c..8a2824ba18 100644 --- a/src/bootstrap/src/core/builder/tests.rs +++ b/src/bootstrap/src/core/builder/tests.rs @@ -168,7 +168,8 @@ fn check_missing_paths_for_x_test_tests() { } } -#[test] +//Debian: doesn't work in a tarball source +#[allow(dead_code)] fn ci_rustc_if_unchanged_invalidate_on_compiler_changes() { git_test(|ctx| { prepare_rustc_checkout(ctx); @@ -181,7 +182,8 @@ fn ci_rustc_if_unchanged_invalidate_on_compiler_changes() { }); } -#[test] +//Debian: doesn't work in a tarball source +#[allow(dead_code)] fn ci_rustc_if_unchanged_do_not_invalidate_on_library_changes_outside_ci() { git_test(|ctx| { prepare_rustc_checkout(ctx); @@ -194,7 +196,8 @@ fn ci_rustc_if_unchanged_do_not_invalidate_on_library_changes_outside_ci() { }); } -#[test] +//Debian: doesn't work in a tarball source +#[allow(dead_code)] fn ci_rustc_if_unchanged_do_not_invalidate_on_tool_changes() { git_test(|ctx| { prepare_rustc_checkout(ctx); @@ -1533,7 +1536,7 @@ mod snapshot { "); } - #[test] + #[allow(dead_code)] fn dist_all_cross_extended() { let ctx = TestCtx::new(); insta::assert_snapshot!( @@ -1614,7 +1617,7 @@ mod snapshot { /// /// This is a regression test for /// and . - #[test] + #[allow(dead_code)] fn dist_all_cross_extended_no_docs() { let ctx = TestCtx::new(); let steps = ctx