Expand description
Runs the whole pipeline on a cargo package: copy -> instrument -> build once -> trace run -> plan -> run the infected mutants.
The user’s tree is never modified: everything happens in a copy under
<target dir>/tmt/.
Re-exports§
pub use crate::report::CargoConfig;
Structs§
- Options
- Stage
External - An external file or directory staged relative to the isolated workspace copy,
for monorepo packages whose
build.rsorinclude_str!references parent paths. - Test
Selection
Enums§
- Baseline
Error - Structured error returned when baseline test execution fails or exceeds its timeout budget.
Functions§
- run
- run_
packages - Collect the original aggregate report for callers that want it.
- run_
packages_ each - Emit each completed package before starting the next one.
- run_
packages_ each_ with - Emit each completed package before starting the next one, resolving per-package options
via
options_for_package. - run_
packages_ with - Collect the aggregate report, allowing per-package option customisation (e.g. from
tmt.toml). - select_
single_ package_ name - Returns the Cargo package name that
runwould select fordirwhen no--packageis given (including a single-member virtual workspace with globmembers). - summarize_
baseline_ log - Extracts high-signal failure/panic lines from a baseline test log (libtest, nextest, or generic test output), bounded by line count, per-line byte limit, and total byte budget.