ci_rustc: disable test that requires upstream git repo
authorFabian Grünbichler <git@fabian.gruenbichler.email>
Wed, 4 Dec 2024 16:50:43 +0000 (17:50 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Wed, 4 Dec 2024 17:07:54 +0000 (18:07 +0100)
Gbp-Pq: Topic build
Forwarded: not-needed

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name ci_rustc-disable-test-that-requires-upstream-git-repo.patch

src/bootstrap/src/core/builder/tests.rs

index 4fb7cf4d0d6031ca489aed9705ba7b612691e706..f0ab4103c4b576ff954ed6e529271bd50bc68e8c 100644 (file)
@@ -212,7 +212,8 @@ fn alias_and_path_for_library() {
     assert_eq!(first(cache.all::<doc::Std>()), &[doc_std!(A => A, stage = 0)]);
 }
 
-#[test]
+// Debian: this test doesn't work since it tries to detect dirty git state..
+#[allow(dead_code)]
 fn ci_rustc_if_unchanged_logic() {
     let config = Config::parse_inner(
         Flags::parse(&[