Skip to main content

default_classify

Function default_classify 

Source
pub fn default_classify(
    sui: &CapturedOutput,
    nix: &CapturedOutput,
    compare_ok: impl FnOnce(&CapturedOutput, &CapturedOutput) -> bool,
) -> Verdict
Expand description

Shared verdict skeleton — handles spawn failure, timeout, and the exit-code matrix. Comparison-rule logic plugs in via the compare_ok closure, which is only called when both engines exit 0.