@@ -1893,14 +1893,6 @@ impl Step for BookTest {
1893
1893
///
1894
1894
/// This uses the `rustdoc` that sits next to `compiler`.
1895
1895
fn run ( self , builder : & Builder < ' _ > ) {
1896
- let host = self . compiler . host ;
1897
- let _guard = builder. msg (
1898
- Kind :: Test ,
1899
- self . compiler . stage ,
1900
- & format ! ( "book {}" , self . name) ,
1901
- host,
1902
- host,
1903
- ) ;
1904
1896
// External docs are different from local because:
1905
1897
// - Some books need pre-processing by mdbook before being tested.
1906
1898
// - They need to save their state to toolstate.
@@ -1943,7 +1935,7 @@ impl BookTest {
1943
1935
let _guard = builder. msg (
1944
1936
Kind :: Test ,
1945
1937
compiler. stage ,
1946
- format_args ! ( "rustbook {}" , self . path. display( ) ) ,
1938
+ format_args ! ( "mdbook {}" , self . path. display( ) ) ,
1947
1939
compiler. host ,
1948
1940
compiler. host ,
1949
1941
) ;
@@ -1959,8 +1951,12 @@ impl BookTest {
1959
1951
/// This runs `rustdoc --test` on all `.md` files in the path.
1960
1952
fn run_local_doc ( self , builder : & Builder < ' _ > ) {
1961
1953
let compiler = self . compiler ;
1954
+ let host = self . compiler . host ;
1962
1955
1963
- builder. ensure ( compile:: Std :: new ( compiler, compiler. host ) ) ;
1956
+ builder. ensure ( compile:: Std :: new ( compiler, host) ) ;
1957
+
1958
+ let _guard =
1959
+ builder. msg ( Kind :: Test , compiler. stage , & format ! ( "book {}" , self . name) , host, host) ;
1964
1960
1965
1961
// Do a breadth-first traversal of the `src/doc` directory and just run
1966
1962
// tests for all files that end in `*.md`
0 commit comments