Skip to content

Commit

Permalink
Disable fetch tests to allow build on arm and ppc architecture
Browse files Browse the repository at this point in the history
These tests are disabled to allow building on release architecture.
Bug: rust-lang/cargo#5864
Last-Update: 2018-08-05

Gbp-Pq: Name 2005_disable_fetch_cross_tests.patch
  • Loading branch information
copyninja authored and infinity0 committed Aug 12, 2018
1 parent 2fd91ca commit 9d7c2d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testsuite/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 9d7c2d1

Please sign in to comment.