Add tested item in the rustdoc --test output
This commit is contained in:
parent
bae454edc5
commit
c951ed7fb6
3 changed files with 17 additions and 9 deletions
|
|
@ -4,4 +4,4 @@ all: foo.rs
|
|||
$(RUSTC) --cfg 'feature="bar"' --crate-type lib foo.rs
|
||||
$(HOST_RPATH_ENV) '$(RUSTDOC)' --test --cfg 'feature="bar"' \
|
||||
-L $(TMPDIR) foo.rs |\
|
||||
grep -q 'foo.rs - line 11 ... ok'
|
||||
grep -q 'foo.rs - foo (line 11) ... ok'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue