]> git.lizzy.rs Git - rust.git/commitdiff
Put rustdoc --test ui check at the end of docs check
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Fri, 20 Jan 2017 18:03:09 +0000 (19:03 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Fri, 3 Feb 2017 10:08:20 +0000 (11:08 +0100)
src/bootstrap/check.rs
src/bootstrap/step.rs

index 1801d5bdd80e1f1ee359955dd8a051d72606c2c6..f8c31d733719172cd785e6572d4d2e971d9253b3 100644 (file)
@@ -275,6 +275,7 @@ pub fn docs(build: &Build, compiler: &Compiler) {
         println!("doc tests for: {}", p.display());
         markdown_test(build, compiler, &p);
     }
+    markdown_test(build, compiler, &output);
 }
 
 /// 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) {
                    .arg("markdown")
                    .arg(&output)
                    .env("CFG_BUILD", &build.config.build));
-
-    markdown_test(build, compiler, &output);
 }
 
 fn markdown_test(build: &Build, compiler: &Compiler, markdown: &Path) {
index c3e0e08223065af55b006d03beb049ec8bccab1a..3932a7cf8c56376c32af9a2a6938abcf9a31cc75 100644 (file)
@@ -474,11 +474,6 @@ fn crate_rule<'a, 'b>(build: &'a Build,
          .default(true)
          .host(true)
          .run(move |s| check::docs(build, &s.compiler()));
-    rules.test("check-rustdoc-output", "src/test/rustdoc-test")
-         .dep(|s| s.name("libtest"))
-         .default(true)
-         .host(true)
-         .run(move |s| check::markdown_test_output_check(build, &s.compiler()));
     rules.test("check-distcheck", "distcheck")
          .dep(|s| s.name("dist-src"))
          .run(move |_| check::distcheck(build));