diff options
author | Vasudev Kamath <vasudev@copyninja.info> | 2018-12-11 20:57:21 +0530 |
---|---|---|
committer | Vasudev Kamath <vasudev@copyninja.info> | 2018-12-11 20:57:21 +0530 |
commit | 5d02fd2461fff282ecf09efdc9fa0dd1cb3d8e5a (patch) | |
tree | 50a52f077ae588cd25ba071851d7456f247a0078 | |
parent | 1d566ccedb7df558530a9a992b09ba23327fc81b (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 455b1390a..b33509c06 100644 --- a/tests/testsuite/fetch.rs +++ b/tests/testsuite/fetch.rs @@ -12,8 +12,8 @@ fn no_deps() { p.cargo("fetch").with_stdout("").run(); } -#[test] -fn fetch_all_platform_dependencies_when_no_target_is_given() { +#[allow(dead_code)] +fn _fetch_all_platform_dependencies_when_no_target_is_given() { if cross_compile::disabled() { return; } @@ -58,8 +58,8 @@ fn fetch_all_platform_dependencies_when_no_target_is_given() { .run(); } -#[test] -fn fetch_platform_specific_dependencies() { +#[allow(dead_code)] +fn _fetch_platform_specific_dependencies() { if cross_compile::disabled() { return; } |