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.93.1+dfsg1-2+rpi1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cba8b03a736db2a18a7fe4b2381f599bf81400e9;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 f648d5bed3..fe321e558f 100644 --- a/src/bootstrap/src/core/builder/tests.rs +++ b/src/bootstrap/src/core/builder/tests.rs @@ -163,7 +163,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); @@ -176,7 +177,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); @@ -189,7 +191,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); @@ -1543,7 +1546,7 @@ mod snapshot { "); } - #[test] + #[allow(dead_code)] fn dist_all_cross_extended() { let ctx = TestCtx::new(); insta::assert_snapshot!( @@ -1624,7 +1627,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