Skip to content

Commit

Permalink
Replace ignore-android with ignore-cross-compile in rustdoc tests
Browse files Browse the repository at this point in the history
The problem is that rustdoc searches for external crates using the host
triple, not the target triple. It's actually unclear to me whether this is
correct behavior or not, but it is necessary to get cross-compiled tests
working.
  • Loading branch information
rprichard committed Apr 23, 2015
1 parent f7962d2 commit 89b6f39
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/test/rustdoc/default-impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:rustdoc-default-impl.rs
// ignore-android
// ignore-cross-compile

extern crate rustdoc_default_impl as foo;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/extern-default-method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:rustdoc-extern-default-method.rs
// ignore-android
// ignore-cross-compile

extern crate rustdoc_extern_default_method as ext;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/extern-method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:rustdoc-extern-method.rs
// ignore-android
// ignore-cross-compile

#![feature(unboxed_closures)]

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:rustdoc-ffi.rs
// ignore-android
// ignore-cross-compile

extern crate rustdoc_ffi as lib;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/inline-default-methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:inline-default-methods.rs
// ignore-android
// ignore-cross-compile

extern crate inline_default_methods;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-13698.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-13698.rs
// ignore-android
// ignore-cross-compile

extern crate issue_13698;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-15318-2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-15318.rs
// ignore-android
// ignore-cross-compile

extern crate issue_15318;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-15318.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-15318.rs
// ignore-android
// ignore-cross-compile

#![feature(no_std)]
#![no_std]
Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-17476.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-17476.rs
// ignore-android
// ignore-cross-compile

extern crate issue_17476;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-19190-3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-19190-3.rs
// ignore-android
// ignore-cross-compile

extern crate issue_19190_3;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-20646.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-20646.rs
// ignore-android
// ignore-cross-compile

#![feature(associated_types)]

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-20727-2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-20727.rs
// ignore-android
// ignore-cross-compile

extern crate issue_20727;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-20727-3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-20727.rs
// ignore-android
// ignore-cross-compile

extern crate issue_20727;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-20727-4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-20727.rs
// ignore-android
// ignore-cross-compile

extern crate issue_20727;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-20727.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-20727.rs
// ignore-android
// ignore-cross-compile

extern crate issue_20727;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-21092.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-21092.rs
// ignore-android
// ignore-cross-compile

extern crate issue_21092;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-21801.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-21801.rs
// ignore-android
// ignore-cross-compile

extern crate issue_21801;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-22025.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// aux-build:issue-22025.rs
// ignore-android
// ignore-cross-compile

extern crate issue_22025;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-23207.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

// aux-build:issue-23207-1.rs
// aux-build:issue-23207-2.rs
// ignore-android
// ignore-cross-compile

extern crate issue_23207_2;

Expand Down

0 comments on commit 89b6f39

Please sign in to comment.