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>
Thu, 20 Feb 2025 18:23:02 +0000 (19:23 +0100)
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 6f5ff530bd367131af75a5f65a0549420261173a..756a25cccd7dfb2875f63aec33ad921edb3e35a8 100644 (file)
@@ -202,7 +202,8 @@ fn alias_and_path_for_library() {
     ]);
 }
 
-#[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(&[