Skip to content

Commit 4fbfc0b

Browse files
committed
Skip these tests at stage1.
1 parent 6f51eca commit 4fbfc0b

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed
Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
-include ../tools.mk
22

3-
all:
3+
# This test attempts to use syntax extensions, which are known to be
4+
# incompatible with stage1 at the moment.
5+
6+
ifeq ($(RUST_BUILD_STAGE),"1")
7+
DOTEST=
8+
endif
9+
ifeq ($(RUST_BUILD_STAGE),"2")
10+
DOTEST=dotest
11+
endif
12+
13+
all: $(DOTEST)
14+
15+
dotest:
16+
env
417
$(RUSTC) lib.rs
518
$(RUSTC) main.rs -Z lto
619
$(call RUN,main)

src/test/run-make/unicode-input/Makefile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
-include ../tools.mk
22

3-
all:
3+
# This test attempts to run rustc itself from the compiled binary; but
4+
# that means that you need to set the LD_LIBRARY_PATH for rustc itself
5+
# while running muliple_files, and that won't work for stage1.
6+
7+
ifeq ($(RUST_BUILD_STAGE),"1")
8+
DOTEST=
9+
endif
10+
ifeq ($(RUST_BUILD_STAGE),"2")
11+
DOTEST=dotest
12+
endif
13+
14+
all: $(DOTEST)
15+
16+
dotest:
417
# check that we don't ICE on unicode input, issue #11178
518
$(RUSTC) multiple_files.rs
619
$(call RUN,multiple_files) "$(RUSTC)" "$(TMPDIR)"

0 commit comments

Comments
 (0)