Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore tests that fail on stage1 #43744

Merged
merged 1 commit into from
Aug 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:attribute-with-error.rs
// ignore-stage1

#![feature(proc_macro)]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:attributes-included.rs
// ignore-stage1

#![feature(proc_macro, rustc_attrs)]

Expand Down
1 change: 1 addition & 0 deletions src/test/compile-fail-fulldeps/proc-macro/derive-bad.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:derive-bad.rs
// ignore-stage1

#[macro_use]
extern crate derive_bad;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:derive-unstable-2.rs
// ignore-stage1

#![allow(warnings)]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:derive-unstable.rs
// ignore-stage1

#![allow(warnings)]

Expand Down
1 change: 1 addition & 0 deletions src/test/compile-fail-fulldeps/proc-macro/issue-38586.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:issue_38586.rs
// ignore-stage1

#![feature(proc_macro)]

Expand Down
1 change: 1 addition & 0 deletions src/test/compile-fail-fulldeps/proc-macro/item-error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:derive-b.rs
// ignore-stage1

#![allow(warnings)]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:bang_proc_macro2.rs
// ignore-stage1

#![feature(proc_macro)]
#![allow(unused_macros)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:derive-b.rs
// ignore-stage1

#![allow(warnings)]

Expand Down
6 changes: 6 additions & 0 deletions src/test/run-make/issue-37839/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
-include ../tools.mk

ifeq ($(findstring stage1,$(RUST_BUILD_STAGE)),stage1)
# ignore stage1
all:

else
all:
$(RUSTC) a.rs && $(RUSTC) b.rs
$(BARE_RUSTC) c.rs -L dependency=$(TMPDIR) --extern b=$(TMPDIR)/libb.rlib \
--out-dir=$(TMPDIR)
endif
6 changes: 6 additions & 0 deletions src/test/run-make/issue-37893/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
-include ../tools.mk

ifeq ($(findstring stage1,$(RUST_BUILD_STAGE)),stage1)
# ignore stage1
all:

else
all:
$(RUSTC) a.rs && $(RUSTC) b.rs && $(RUSTC) c.rs
endif
6 changes: 6 additions & 0 deletions src/test/run-make/issue-38237/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
-include ../tools.mk

ifeq ($(findstring stage1,$(RUST_BUILD_STAGE)),stage1)
# ignore stage1
all:

else
all:
$(RUSTC) foo.rs; $(RUSTC) bar.rs
$(RUSTDOC) baz.rs -L $(TMPDIR) -o $(TMPDIR)
endif
7 changes: 7 additions & 0 deletions src/test/run-make/llvm-pass/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
-include ../tools.mk

ifeq ($(findstring stage1,$(RUST_BUILD_STAGE)),stage1)
# ignore stage1
all:

else
# Windows doesn't correctly handle include statements with escaping paths,
# so this test will not get run on Windows.
ifdef IS_WINDOWS
Expand All @@ -15,3 +20,5 @@ $(TMPDIR)/libllvm-function-pass.o:
$(TMPDIR)/libllvm-module-pass.o:
$(CXX) $(CFLAGS) $(LLVM_CXXFLAGS) -c llvm-module-pass.so.cc -o $(TMPDIR)/libllvm-module-pass.o
endif

endif
6 changes: 6 additions & 0 deletions src/test/run-make/rustc-macro-dep-files/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
-include ../tools.mk

ifeq ($(findstring stage1,$(RUST_BUILD_STAGE)),stage1)
# ignore stage1
all:

else
all:
$(RUSTC) foo.rs
$(RUSTC) bar.rs --emit dep-info
grep "proc-macro source" $(TMPDIR)/bar.d && exit 1 || exit 0
endif
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/issue-40663.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:custom_derive_plugin.rs
// ignore-stage1

#![feature(plugin, custom_derive)]
#![plugin(custom_derive_plugin)]
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/proc-macro/add-impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:add-impl.rs
// ignore-stage1

#[macro_use]
extern crate add_impl;
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/proc-macro/append-impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:append-impl.rs
// ignore-stage1

#![allow(warnings)]

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/proc-macro/attr-args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:attr-args.rs
// ignore-stage1

#![allow(warnings)]
#![feature(proc_macro)]
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/proc-macro/bang-macro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:bang-macro.rs
// ignore-stage1

#![feature(proc_macro)]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:count_compound_ops.rs
// ignore-stage1

#![feature(proc_macro)]

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/proc-macro/crate-var.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:double.rs
// ignore-stage1

#![allow(unused)]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:derive-same-struct.rs
// ignore-stage1

#[macro_use]
extern crate derive_same_struct;
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/proc-macro/hygiene_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

// aux-build:hygiene_example_codegen.rs
// aux-build:hygiene_example.rs
// ignore-stage1

#![feature(proc_macro)]

Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/proc-macro/issue-39889.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:issue-39889.rs
// ignore-stage1

#![feature(proc_macro)]
#![allow(unused)]
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/proc-macro/issue-40001.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// aux-build:issue-40001-plugin.rs
// ignore-stage1

#![feature(proc_macro, plugin)]
#![plugin(issue_40001_plugin)]
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/proc-macro/load-two.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

// aux-build:derive-atob.rs
// aux-build:derive-ctod.rs
// ignore-stage1

#[macro_use]
extern crate derive_atob;
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass-fulldeps/proc-macro/use-reexport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

// aux-build:derive-a.rs
// aux-build:derive-reexport.rs
// ignore-stage1

#[macro_use]
extern crate derive_reexport;
Expand Down