mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +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.
10 lines
374 B
Makefile
10 lines
374 B
Makefile
# ignore-cross-compile
|
|
include ../tools.mk
|
|
|
|
all:
|
|
# check that #[cfg_attr(..., ignore)] does the right thing.
|
|
$(RUSTC) --test test-ignore-cfg.rs --cfg ignorecfg
|
|
$(call RUN,test-ignore-cfg) | $(CGREP) 'shouldnotignore ... ok' 'shouldignore ... ignored'
|
|
$(call RUN,test-ignore-cfg --quiet) | $(CGREP) -e "^i\.$$"
|
|
$(call RUN,test-ignore-cfg --quiet) | $(CGREP) -v 'should'
|