Skip to content

Commit ec2d072

Browse files
committed
fix nested GHA groups (redux)
1 parent 116223e commit ec2d072

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/bootstrap/test.rs

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1899,14 +1899,6 @@ impl Step for BookTest {
18991899
///
19001900
/// This uses the `rustdoc` that sits next to `compiler`.
19011901
fn run(self, builder: &Builder<'_>) {
1902-
let host = self.compiler.host;
1903-
let _guard = builder.msg(
1904-
Kind::Test,
1905-
self.compiler.stage,
1906-
&format!("book {}", self.name),
1907-
host,
1908-
host,
1909-
);
19101902
// External docs are different from local because:
19111903
// - Some books need pre-processing by mdbook before being tested.
19121904
// - They need to save their state to toolstate.
@@ -1949,7 +1941,7 @@ impl BookTest {
19491941
let _guard = builder.msg(
19501942
Kind::Test,
19511943
compiler.stage,
1952-
format_args!("rustbook {}", self.path.display()),
1944+
format_args!("mdbook {}", self.path.display()),
19531945
compiler.host,
19541946
compiler.host,
19551947
);
@@ -1965,8 +1957,12 @@ impl BookTest {
19651957
/// This runs `rustdoc --test` on all `.md` files in the path.
19661958
fn run_local_doc(self, builder: &Builder<'_>) {
19671959
let compiler = self.compiler;
1960+
let host = self.compiler.host;
19681961

1969-
builder.ensure(compile::Std::new(compiler, compiler.host));
1962+
builder.ensure(compile::Std::new(compiler, host));
1963+
1964+
let _guard =
1965+
builder.msg(Kind::Test, compiler.stage, &format!("book {}", self.name), host, host);
19701966

19711967
// Do a breadth-first traversal of the `src/doc` directory and just run
19721968
// tests for all files that end in `*.md`

0 commit comments

Comments
 (0)