Disable fetch tests to allow build on arm and ppc architecture
authorVasudev Kamath <vasudev@copyninja.info>
Tue, 7 Aug 2018 16:44:46 +0000 (22:14 +0530)
committerVasudev Kamath <vasudev@copyninja.info>
Tue, 7 Aug 2018 16:44:46 +0000 (22:14 +0530)
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

tests/testsuite/fetch.rs

index 1d7fedab8e2fbc3298f3a2eee607f0d2cfe535ef..1f47f2fcc1eb4d3823914924d0aeb88bb1cc47a0 100644 (file)
@@ -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",