Skip to content

Commit aea6f32

Browse files
Put rustdoc --test ui check at the end of docs check
1 parent d97226c commit aea6f32

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/bootstrap/check.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ pub fn docs(build: &Build, compiler: &Compiler) {
275275
println!("doc tests for: {}", p.display());
276276
markdown_test(build, compiler, &p);
277277
}
278+
markdown_test(build, compiler, &output);
278279
}
279280

280281
/// Run the error index generator tool to execute the tests located in the error
@@ -296,8 +297,6 @@ pub fn error_index(build: &Build, compiler: &Compiler) {
296297
.arg("markdown")
297298
.arg(&output)
298299
.env("CFG_BUILD", &build.config.build));
299-
300-
markdown_test(build, compiler, &output);
301300
}
302301

303302
fn markdown_test(build: &Build, compiler: &Compiler, markdown: &Path) {

src/bootstrap/step.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -474,11 +474,6 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
474474
.default(true)
475475
.host(true)
476476
.run(move |s| check::docs(build, &s.compiler()));
477-
rules.test("check-rustdoc-output", "src/test/rustdoc-test")
478-
.dep(|s| s.name("libtest"))
479-
.default(true)
480-
.host(true)
481-
.run(move |s| check::markdown_test_output_check(build, &s.compiler()));
482477
rules.test("check-distcheck", "distcheck")
483478
.dep(|s| s.name("dist-src"))
484479
.run(move |_| check::distcheck(build));

0 commit comments

Comments
 (0)