Function bootstrap::core::build_steps::test::run_cargo_test

source ·
fn run_cargo_test<'a>(
    cargo: impl Into<Command>,
    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.