Skip to content

Commit cf7f305

Browse files
committed
Ignore tests that fail on stage1
That makes ./x.py test --stage 1 work on x86_64-unknown-linux-gnu.
1 parent d69cdca commit cf7f305

27 files changed

+53
-0
lines changed

src/test/compile-fail-fulldeps/proc-macro/attribute-with-error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:attribute-with-error.rs
12+
// ignore-stage1
1213

1314
#![feature(proc_macro)]
1415

src/test/compile-fail-fulldeps/proc-macro/attributes-included.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:attributes-included.rs
12+
// ignore-stage1
1213

1314
#![feature(proc_macro, rustc_attrs)]
1415

src/test/compile-fail-fulldeps/proc-macro/derive-bad.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:derive-bad.rs
12+
// ignore-stage1
1213

1314
#[macro_use]
1415
extern crate derive_bad;

src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable-2.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:derive-unstable-2.rs
12+
// ignore-stage1
1213

1314
#![allow(warnings)]
1415

src/test/compile-fail-fulldeps/proc-macro/expand-to-unstable.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:derive-unstable.rs
12+
// ignore-stage1
1213

1314
#![allow(warnings)]
1415

src/test/compile-fail-fulldeps/proc-macro/issue-38586.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:issue_38586.rs
12+
// ignore-stage1
1213

1314
#![feature(proc_macro)]
1415

src/test/compile-fail-fulldeps/proc-macro/item-error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:derive-b.rs
12+
// ignore-stage1
1213

1314
#![allow(warnings)]
1415

src/test/compile-fail-fulldeps/proc-macro/lints_in_proc_macros.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:bang_proc_macro2.rs
12+
// ignore-stage1
1213

1314
#![feature(proc_macro)]
1415
#![allow(unused_macros)]

src/test/compile-fail-fulldeps/proc-macro/proc-macro-attributes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:derive-b.rs
12+
// ignore-stage1
1213

1314
#![allow(warnings)]
1415

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
-include ../tools.mk
22

3+
ifeq ($(findstring stage1,$(RUST_BUILD_STAGE)),stage1)
4+
# ignore stage1
5+
all:
6+
7+
else
38
all:
49
$(RUSTC) a.rs && $(RUSTC) b.rs
510
$(BARE_RUSTC) c.rs -L dependency=$(TMPDIR) --extern b=$(TMPDIR)/libb.rlib \
611
--out-dir=$(TMPDIR)
12+
endif

0 commit comments

Comments
 (0)