Skip to content

Commit

Permalink
Ignore cross-compilation in some fulldeps tests.
Browse files Browse the repository at this point in the history
These tests fail, in general, for cross-compilation, because they require
the rustc crates to exist for the target, and they don't. We can't compile
them for the target unless we also compile LLVM for the target (we don't).

Android is a subset of cross-compilation.

The other fulldeps tests, on the other hand, work fine for
cross-compilation, and in fact, are verifying that rustc correctly searches
for a host plugin crate, not a target plugin crate.
  • Loading branch information
rprichard committed Apr 23, 2015
1 parent d57fc92 commit f7962d2
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/test/compile-fail-fulldeps/macro-crate-rlib.rs
Expand Up @@ -11,7 +11,6 @@
// aux-build:rlib_crate_test.rs
// ignore-stage1
// ignore-tidy-linelength
// ignore-android
// ignore-cross-compile gives a different error message

#![feature(plugin)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass-fulldeps/compiler-calls.rs
Expand Up @@ -10,7 +10,7 @@

// Test that the CompilerCalls interface to the compiler works.

// ignore-android
// ignore-cross-compile

#![feature(rustc_private, path)]
#![feature(core)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass-fulldeps/create-dir-all-bare.rs
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-android
// ignore-cross-compile

#![feature(rustc_private)]

Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass-fulldeps/issue-15149.rs
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// no-prefer-dynamic
// ignore-android
// ignore-cross-compile

#![feature(rustc_private)]

Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass-fulldeps/issue-16992.rs
Expand Up @@ -9,7 +9,7 @@
// except according to those terms.

// ignore-pretty
// ignore-android
// ignore-cross-compile

#![feature(quote, rustc_private)]

Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass-fulldeps/issue-18763-quote-token-tree.rs
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-android
// ignore-cross-compile
// ignore-pretty: does not work well with `--test`

#![feature(quote, rustc_private)]
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/qquote.rs
Expand Up @@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-cross-compile
// ignore-pretty
// ignore-test

Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass-fulldeps/quote-tokens.rs
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-android
// ignore-cross-compile
// ignore-pretty: does not work well with `--test`

#![feature(quote, rustc_private)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass-fulldeps/quote-unused-sp-no-warning.rs
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-android
// ignore-cross-compile
// ignore-pretty: does not work well with `--test`

#![feature(quote, rustc_private)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/run-pass-fulldeps/rename-directory.rs
Expand Up @@ -11,7 +11,7 @@
// This test can't be a unit test in std,
// because it needs TempDir, which is in extra

// ignore-android
// ignore-cross-compile

#![feature(rustc_private, path_ext)]

Expand Down

0 comments on commit f7962d2

Please sign in to comment.