Skip to content

Commit bc8fabb

Browse files
Skip printing for skipped doc tests.
1 parent a032cb8 commit bc8fabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/check.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,6 @@ pub fn docs(build: &Build, compiler: &Compiler) {
338338
continue
339339
}
340340

341-
println!("doc tests for: {}", p.display());
342341
markdown_test(build, compiler, &p);
343342
}
344343
}
@@ -375,6 +374,7 @@ fn markdown_test(build: &Build, compiler: &Compiler, markdown: &Path) {
375374
return;
376375
}
377376

377+
println!("doc tests for: {}", markdown.display());
378378
let mut cmd = Command::new(build.rustdoc(compiler));
379379
build.add_rustc_lib_path(compiler, &mut cmd);
380380
build.add_rust_test_threads(&mut cmd);

0 commit comments

Comments
 (0)