Update run-make/issue-22131 to new rustdoc --test format

This commit is contained in:
Guillaume Gomez 2017-01-28 18:26:37 +01:00
parent f144795058
commit 7c4b79c80a

View File

@ -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 'test foo_0 ... ok'
grep -q 'foo.rs - line 11 ... ok'