From 559b57bf6449d1872d797ebe04a97024b0c999b2 Mon Sep 17 00:00:00 2001 From: Phlosioneer Date: Sun, 25 Mar 2018 17:06:38 -0400 Subject: [PATCH] Ignore proc macro stage 1 tests A few tests related to proc-macros fail when performing stage-1 testing. This PR adds // ignore-stage1 to them, along with a FIXME. Original issue: #49352 This should (hopefully) be fixed when #49219 is merged. --- src/test/run-pass-fulldeps/compiler-calls.rs | 4 ++++ src/test/run-pass-fulldeps/proc-macro/span-api-tests.rs | 4 ++++ src/test/ui-fulldeps/proc-macro/load-panic.rs | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/src/test/run-pass-fulldeps/compiler-calls.rs b/src/test/run-pass-fulldeps/compiler-calls.rs index 85aa92ce26076..c5ef76cd53e44 100644 --- a/src/test/run-pass-fulldeps/compiler-calls.rs +++ b/src/test/run-pass-fulldeps/compiler-calls.rs @@ -12,6 +12,10 @@ // ignore-cross-compile +// FIXME: The proc-macro tests should work for stage1 when #49219 is merged. +// See also #49352. +// ignore-stage1 + #![feature(rustc_private, path)] #![feature(core)] diff --git a/src/test/run-pass-fulldeps/proc-macro/span-api-tests.rs b/src/test/run-pass-fulldeps/proc-macro/span-api-tests.rs index c2df561b43a11..007f970aedcee 100644 --- a/src/test/run-pass-fulldeps/proc-macro/span-api-tests.rs +++ b/src/test/run-pass-fulldeps/proc-macro/span-api-tests.rs @@ -13,6 +13,10 @@ // ignore-pretty +// FIXME: The proc-macro tests should work for stage1 when #49219 is merged. +// See also #49352. +// ignore-stage1 + #![feature(proc_macro)] #[macro_use] diff --git a/src/test/ui-fulldeps/proc-macro/load-panic.rs b/src/test/ui-fulldeps/proc-macro/load-panic.rs index 462eaf0341704..8c6835c7f0339 100644 --- a/src/test/ui-fulldeps/proc-macro/load-panic.rs +++ b/src/test/ui-fulldeps/proc-macro/load-panic.rs @@ -11,6 +11,10 @@ // aux-build:derive-panic.rs // compile-flags:--error-format human +// FIXME: The proc-macro tests should work for stage1 when #49219 is merged. +// See also #49352. +// ignore-stage1 + #[macro_use] extern crate derive_panic;