diff options
| author | jyn <github@jyn.dev> | 2023-07-09 20:28:47 -0500 |
|---|---|---|
| committer | jyn <github@jyn.dev> | 2023-07-14 17:27:20 -0500 |
| commit | df5cc59a68b8af5a45c657edef29a6f1d10a5a2e (patch) | |
| tree | 1e8a2647af9e818a5ddee23ea9ebf2108779ebf9 | |
| parent | fb3ac44dd839010b0bb91fdb76d42c6b01b300de (diff) | |
| download | rust-df5cc59a68b8af5a45c657edef29a6f1d10a5a2e.tar.gz rust-df5cc59a68b8af5a45c657edef29a6f1d10a5a2e.zip | |
fix nested GHA groups (redux)
| -rw-r--r-- | src/bootstrap/test.rs | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 7704015fbf8..28e71e4130b 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -1893,14 +1893,6 @@ impl Step for BookTest { /// /// This uses the `rustdoc` that sits next to `compiler`. fn run(self, builder: &Builder<'_>) { - let host = self.compiler.host; - let _guard = builder.msg( - Kind::Test, - self.compiler.stage, - &format!("book {}", self.name), - host, - host, - ); // External docs are different from local because: // - Some books need pre-processing by mdbook before being tested. // - They need to save their state to toolstate. @@ -1943,7 +1935,7 @@ impl BookTest { let _guard = builder.msg( Kind::Test, compiler.stage, - format_args!("rustbook {}", self.path.display()), + format_args!("mdbook {}", self.path.display()), compiler.host, compiler.host, ); @@ -1959,8 +1951,12 @@ impl BookTest { /// This runs `rustdoc --test` on all `.md` files in the path. fn run_local_doc(self, builder: &Builder<'_>) { let compiler = self.compiler; + let host = self.compiler.host; - builder.ensure(compile::Std::new(compiler, compiler.host)); + builder.ensure(compile::Std::new(compiler, host)); + + let _guard = + builder.msg(Kind::Test, compiler.stage, &format!("book {}", self.name), host, host); // Do a breadth-first traversal of the `src/doc` directory and just run // tests for all files that end in `*.md` |
