Skip to main content

run

Function run 

Source
pub fn run(probe: &str, var: &str, value: &str) -> Probe
Expand description

Runs this test binary’s ignored test probe (its whole path, as --exact matches it) in a child process with var set to value. A child killed by SIGKILL is no measurement, and the probe is run again, up to KILLED_RUNS runs in all (crate::child::output).

§Panics

When the child can not start, comes to anything but Probe (classify), or is killed by SIGKILL on every run: the message says what, and ends with the last child’s last lines of output.