diff options
author | Vasudev Kamath <vasudev@copyninja.info> | 2018-10-21 11:59:11 +0530 |
---|---|---|
committer | Vasudev Kamath <vasudev@copyninja.info> | 2018-10-21 11:59:11 +0530 |
commit | ff4a92535fc031cb85df948c68bdda19990f1913 (patch) | |
tree | cb37bc2f5046a8f0958d98589c983533384c7aa8 | |
parent | 38a43e12482e6c00bc551ca945c49d9fde5133bb (diff) |
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
-rw-r--r-- | tests/testsuite/fetch.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testsuite/fetch.rs b/tests/testsuite/fetch.rs index ce63f05c4..7a5e55293 100644 --- a/tests/testsuite/fetch.rs +++ b/tests/testsuite/fetch.rs @@ -13,8 +13,8 @@ fn no_deps() { assert_that(p.cargo("fetch"), execs().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", &basic_manifest("d1", "1.2.3")) .file("src/lib.rs", "") @@ -58,8 +58,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", &basic_manifest("d1", "1.2.3")) .file("src/lib.rs", "") |