fix compiletest to search for two dash and run make fulldeps test
This commit is contained in:
parent
f6b8b78063
commit
4ce2e335d9
3 changed files with 3 additions and 3 deletions
|
|
@ -4,4 +4,4 @@ all: foo.rs
|
|||
$(RUSTC) --cfg 'feature="bar"' --crate-type lib foo.rs
|
||||
$(RUSTDOC) --test --cfg 'feature="bar"' \
|
||||
-L $(TMPDIR) foo.rs |\
|
||||
$(CGREP) 'foo.rs - foo (line 1) ... ok'
|
||||
$(CGREP) 'foo.rs - foo (line 1) - run ... ok'
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@
|
|||
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) | $(CGREP) 'shouldnotignore - run ... ok' 'shouldignore - ignore ... ignored'
|
||||
$(call RUN,test-ignore-cfg --quiet) | $(CGREP) -e "^i\.$$"
|
||||
$(call RUN,test-ignore-cfg --quiet) | $(CGREP) -v 'should'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue