@@ -30,9 +30,9 @@ const ADB_TEST_DIR: &str = "/data/tmp/work";
30
30
/// The two modes of the test runner; tests or benchmarks.
31
31
#[ derive( Debug , PartialEq , Eq , Hash , Copy , Clone , PartialOrd , Ord ) ]
32
32
pub enum TestKind {
33
- /// Run `cargo test`
33
+ /// Run `cargo test`.
34
34
Test ,
35
- /// Run `cargo bench`
35
+ /// Run `cargo bench`.
36
36
Bench ,
37
37
}
38
38
@@ -1288,7 +1288,7 @@ impl Step for DocTest {
1288
1288
run. never ( )
1289
1289
}
1290
1290
1291
- /// Run `rustdoc --test` for all documentation in `src/doc`.
1291
+ /// Runs `rustdoc --test` for all documentation in `src/doc`.
1292
1292
///
1293
1293
/// This will run all tests in our markdown documentation (e.g., the book)
1294
1294
/// located in `src/doc`. The `rustdoc` that's run is the one that sits next to
@@ -1383,6 +1383,7 @@ test_book!(
1383
1383
RustdocBook , "src/doc/rustdoc" , "rustdoc" , default =true ;
1384
1384
RustcBook , "src/doc/rustc" , "rustc" , default =true ;
1385
1385
RustByExample , "src/doc/rust-by-example" , "rust-by-example" , default =false ;
1386
+ EmbeddedBook , "src/doc/embedded-book" , "embedded-book" , default =false ;
1386
1387
TheBook , "src/doc/book" , "book" , default =false ;
1387
1388
UnstableBook , "src/doc/unstable-book" , "unstable-book" , default =true ;
1388
1389
) ;
@@ -1407,7 +1408,7 @@ impl Step for ErrorIndex {
1407
1408
} ) ;
1408
1409
}
1409
1410
1410
- /// Run the error index generator tool to execute the tests located in the error
1411
+ /// Runs the error index generator tool to execute the tests located in the error
1411
1412
/// index.
1412
1413
///
1413
1414
/// The `error_index_generator` tool lives in `src/tools` and is used to
@@ -1613,7 +1614,7 @@ impl Step for Crate {
1613
1614
}
1614
1615
}
1615
1616
1616
- /// Run all unit tests plus documentation tests for a given crate defined
1617
+ /// Runs all unit tests plus documentation tests for a given crate defined
1617
1618
/// by a `Cargo.toml` (single manifest)
1618
1619
///
1619
1620
/// This is what runs tests for crates like the standard library, compiler, etc.
@@ -1832,7 +1833,7 @@ fn envify(s: &str) -> String {
1832
1833
/// the standard library and such to the emulator ahead of time. This step
1833
1834
/// represents this and is a dependency of all test suites.
1834
1835
///
1835
- /// Most of the time this is a noop . For some steps such as shipping data to
1836
+ /// Most of the time this is a no-op . For some steps such as shipping data to
1836
1837
/// QEMU we have to build our own tools so we've got conditional dependencies
1837
1838
/// on those programs as well. Note that the remote test client is built for
1838
1839
/// the build target (us) and the server is built for the target.
@@ -1903,7 +1904,7 @@ impl Step for Distcheck {
1903
1904
run. builder . ensure ( Distcheck ) ;
1904
1905
}
1905
1906
1906
- /// Run "distcheck", a 'make check' from a tarball
1907
+ /// Runs "distcheck", a 'make check' from a tarball
1907
1908
fn run ( self , builder : & Builder ) {
1908
1909
builder. info ( "Distcheck" ) ;
1909
1910
let dir = builder. out . join ( "tmp" ) . join ( "distcheck" ) ;
@@ -1964,7 +1965,7 @@ impl Step for Bootstrap {
1964
1965
const DEFAULT : bool = true ;
1965
1966
const ONLY_HOSTS : bool = true ;
1966
1967
1967
- /// Test the build system itself
1968
+ /// Tests the build system itself.
1968
1969
fn run ( self , builder : & Builder ) {
1969
1970
let mut cmd = Command :: new ( & builder. initial_cargo ) ;
1970
1971
cmd. arg ( "test" )
0 commit comments