Skip to main content

run

Function run 

Source
pub fn run(probe: &str, var: &str, value: &str)
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, on one malloc arena (module docs). A child killed by SIGKILL from outside is run again, up to crate::child::KILLED_RUNS runs in all (crate::child::output; review round 8: one kill failed the test).

§Panics

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