rust-lang/rust — pull request #19809 by akiss77 (2014-12-13 09:53:14+00:00)
Title: Enable ignoring tests based on architecture.

Now, tests can only be ignored on OS basis. However, some tests - e.g., compile-fail/asm-misplaced-option.rs - should be skipped because of the target architecture.

(Note: in the case of compile-fail/asm-misplaced-option.rs, #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] pub fn main() prevents the Intel assembly to be processed on another architecture but does not prevent compiletest to find and expect the warnings within main.)

So, this PR proposes to enhance compiletest to recognize // ignore-ARCH lines as well.