From: Vasudev Kamath Date: Tue, 7 Aug 2018 16:44:46 +0000 (+0530) Subject: Disable fetch tests to allow build on arm and ppc architecture X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=04bc580774dfb8efebb8d14ce543442bfc4aa43a;p=cargo.git Disable fetch tests to allow build on arm and ppc architecture These tests are disabled to allow building on release architecture. Bug: https://github.com/rust-lang/cargo/issues/5864 Last-Update: 2018-08-05 Gbp-Pq: Name 2005_disable_fetch_cross_tests.patch --- diff --git a/tests/testsuite/fetch.rs b/tests/testsuite/fetch.rs index 1d7fedab8..1f47f2fcc 100644 --- a/tests/testsuite/fetch.rs +++ b/tests/testsuite/fetch.rs @@ -27,8 +27,8 @@ fn no_deps() { assert_that(p.cargo("fetch"), execs().with_status(0).with_stdout("")); } -#[test] -fn fetch_all_platform_dependencies_when_no_target_is_given() { +#[allow(dead_code)] +fn _fetch_all_platform_dependencies_when_no_target_is_given() { Package::new("d1", "1.2.3") .file( "Cargo.toml", @@ -87,8 +87,8 @@ fn fetch_all_platform_dependencies_when_no_target_is_given() { ); } -#[test] -fn fetch_platform_specific_dependencies() { +#[allow(dead_code)] +fn _fetch_platform_specific_dependencies() { Package::new("d1", "1.2.3") .file( "Cargo.toml",