mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
Skip printing for skipped doc tests.
This commit is contained in:
parent
a032cb89c5
commit
bc8fabbabc
@ -338,7 +338,6 @@ pub fn docs(build: &Build, compiler: &Compiler) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("doc tests for: {}", p.display());
|
|
||||||
markdown_test(build, compiler, &p);
|
markdown_test(build, compiler, &p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -375,6 +374,7 @@ fn markdown_test(build: &Build, compiler: &Compiler, markdown: &Path) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
println!("doc tests for: {}", markdown.display());
|
||||||
let mut cmd = Command::new(build.rustdoc(compiler));
|
let mut cmd = Command::new(build.rustdoc(compiler));
|
||||||
build.add_rustc_lib_path(compiler, &mut cmd);
|
build.add_rustc_lib_path(compiler, &mut cmd);
|
||||||
build.add_rust_test_threads(&mut cmd);
|
build.add_rust_test_threads(&mut cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user