mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
Add ignore-cross-compile directive for compiletest
Loadable syntax extensions don't work when cross compiling (see #12102), so the fourcc tests all need to be ignored. They're valuable tests, so they shouldn't be outright ignored, so they're now flagged with ignore-cross-compile
This commit is contained in:
parent
4c967e7041
commit
314b02b373
@ -108,6 +108,8 @@ pub fn is_test_ignored(config: &config, testfile: &Path) -> bool {
|
||||
else if parse_name_directive(ln, ignore_stage(config)) { false }
|
||||
else if config.mode == common::mode_pretty &&
|
||||
parse_name_directive(ln, "ignore-pretty") { false }
|
||||
else if config.target != config.host &&
|
||||
parse_name_directive(ln, "ignore-cross-compile") { false }
|
||||
else { true }
|
||||
});
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// ignore-stage1
|
||||
// ignore-pretty
|
||||
// ignore-android
|
||||
// ignore-cross-compile #12102
|
||||
|
||||
#[feature(phase)];
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// ignore-stage1
|
||||
// ignore-pretty
|
||||
// ignore-android
|
||||
// ignore-cross-compile #12102
|
||||
|
||||
#[feature(phase)];
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// ignore-stage1
|
||||
// ignore-pretty
|
||||
// ignore-android
|
||||
// ignore-cross-compile #12102
|
||||
|
||||
#[feature(phase)];
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// ignore-stage1
|
||||
// ignore-pretty
|
||||
// ignore-android
|
||||
// ignore-cross-compile #12102
|
||||
|
||||
#[feature(phase)];
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
// ignore-stage1
|
||||
// ignore-pretty
|
||||
// ignore-android
|
||||
// ignore-cross-compile #12102
|
||||
|
||||
#[feature(phase)];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user