Module bootstrap::core::build_steps::test
source · Expand description
Implementation of the test-related targets of the build system.
This file implements the various regression test suites that we execute on our CI.
Macros§
- Declares an alias for running the
Coverage
tests in only one mode. Adapted fromtest_definitions
. - test 🔒
Structs§
- BookTest 🔒
- Coverage tests are a bit more complicated than other test suites, because we want to run the same set of test files in multiple different modes, in a way that’s convenient and flexible when invoked manually.
- Rustdoc is special in various ways, which is why this step is different from
Crate
. - Some test suites are run inside emulators or on remote devices, and most of our test binaries are linked dynamically which means we need to ship the standard library and such to the emulator ahead of time. This step represents this and is a dependency of all test suites.
Constants§
Functions§
- Given a
cargo test
subcommand, pass it the appropriate test flags given abuilder
. - Given a
cargo test
subcommand, add the appropriate flags and run it. - testdir 🔒