Function cargo::ops::cargo_test::cmd_builds

source ยท
fn cmd_builds(
    gctx: &GlobalContext,
    cwd: &Path,
    unit: &Unit,
    path: &PathBuf,
    script_meta: &Option<Metadata>,
    test_args: &[&str],
    compilation: &Compilation<'_>,
    exec_type: &str
) -> CargoResult<(String, ProcessBuilder)>
Expand description

Creates a ProcessBuilder for executing a single test.

Returns a tuple (exe_display, process) where exe_display is a string to display that describes the executable path in a human-readable form. process is the ProcessBuilder to use for executing the test.