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
Coveragetests in only one mode. Adapted fromtest_definitions. - test 🔒
Structs
- BookTest 🔒
- Custom test step that is responsible for running the coverage tests in multiple different modes.
- 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 testsubcommand, pass it the appropriate test flags given abuilder. - Given a
cargo testsubcommand, add the appropriate flags and run it. - testdir 🔒