@@ -1899,14 +1899,6 @@ impl Step for BookTest {
1899
1899
///
1900
1900
/// This uses the `rustdoc` that sits next to `compiler`.
1901
1901
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
- ) ;
1910
1902
// External docs are different from local because:
1911
1903
// - Some books need pre-processing by mdbook before being tested.
1912
1904
// - They need to save their state to toolstate.
@@ -1949,7 +1941,7 @@ impl BookTest {
1949
1941
let _guard = builder. msg (
1950
1942
Kind :: Test ,
1951
1943
compiler. stage ,
1952
- format_args ! ( "rustbook {}" , self . path. display( ) ) ,
1944
+ format_args ! ( "mdbook {}" , self . path. display( ) ) ,
1953
1945
compiler. host ,
1954
1946
compiler. host ,
1955
1947
) ;
@@ -1965,8 +1957,12 @@ impl BookTest {
1965
1957
/// This runs `rustdoc --test` on all `.md` files in the path.
1966
1958
fn run_local_doc ( self , builder : & Builder < ' _ > ) {
1967
1959
let compiler = self . compiler ;
1960
+ let host = self . compiler . host ;
1968
1961
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) ;
1970
1966
1971
1967
// Do a breadth-first traversal of the `src/doc` directory and just run
1972
1968
// tests for all files that end in `*.md`
0 commit comments