mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
4851d5663c
`run-make-fulldeps` is never cross-compiled, so a lot of these tests never accounted for --target. Ignore them when cross-compiling for now.
13 lines
426 B
Makefile
13 lines
426 B
Makefile
# ignore-cross-compile
|
|
include ../tools.mk
|
|
|
|
all:
|
|
$(RUSTC) success.rs; [ $$? -eq 0 ]
|
|
$(RUSTC) --invalid-arg-foo; [ $$? -eq 1 ]
|
|
$(RUSTC) compile-error.rs; [ $$? -eq 1 ]
|
|
$(RUSTC) -Ztreat-err-as-bug compile-error.rs; [ $$? -eq 101 ]
|
|
$(RUSTDOC) -o $(TMPDIR)/exit-code success.rs; [ $$? -eq 0 ]
|
|
$(RUSTDOC) --invalid-arg-foo; [ $$? -eq 1 ]
|
|
$(RUSTDOC) compile-error.rs; [ $$? -eq 1 ]
|
|
$(RUSTDOC) lint-failure.rs; [ $$? -eq 1 ]
|