bootstrap::core::build_steps::test

Function run_cargo_test

Source
fn run_cargo_test<'a>(
    cargo: impl Into<BootstrapCommand>,
    libtest_args: &[&str],
    crates: &[String],
    primary_crate: &str,
    description: impl Into<Option<&'a str>>,
    compiler: Compiler,
    target: TargetSelection,
    builder: &Builder<'_>,
) -> bool
Expand description

Given a cargo test subcommand, add the appropriate flags and run it.

Returns whether the test succeeded.