Function get_result_from_exit_code

Source
pub(crate) fn get_result_from_exit_code(
    desc: &TestDesc,
    status: ExitStatus,
    time_opts: Option<&TestTimeOptions>,
    exec_time: Option<&TestExecTime>,
) -> TestResult
🔬This is a nightly-only experimental API. (test)
Expand description

Creates a TestResult depending on the exit code of test subprocess.