2022-08-22 19:00:00 -05:00
|
|
|
include ../tools.mk
|
2014-08-07 07:06:29 -05:00
|
|
|
|
|
|
|
all:
|
2017-01-01 13:34:23 -06:00
|
|
|
# check that #[cfg_attr(..., ignore)] does the right thing.
|
2014-08-07 07:06:29 -05:00
|
|
|
$(RUSTC) --test test-ignore-cfg.rs --cfg ignorecfg
|
2017-11-23 09:19:50 -06:00
|
|
|
$(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'
|