Rollup merge of #42485 - Mark-Simulacrum:skip-no-doc, r=alexcrichton

Skip printing for skipped doc tests.

Followup to https://github.com/rust-lang/rust/pull/42437 to further reduce noise.

r? @alexcrichton
This commit is contained in:
Corey Farwell 2017-06-06 22:36:37 -04:00 committed by GitHub
commit 24f48d030e
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,6 @@ pub fn docs(build: &Build, compiler: &Compiler) {
continue
}
println!("doc tests for: {}", p.display());
markdown_test(build, compiler, &p);
}
}
@ -375,6 +374,7 @@ fn markdown_test(build: &Build, compiler: &Compiler, markdown: &Path) {
return;
}
println!("doc tests for: {}", markdown.display());
let mut cmd = Command::new(build.rustdoc(compiler));
build.add_rustc_lib_path(compiler, &mut cmd);
build.add_rust_test_threads(&mut cmd);