many-seeds: propagate failure properly
This commit is contained in:
parent
c7b86fc708
commit
fdb561309d
@ -380,9 +380,9 @@ fn many_seeds(command: Vec<OsString>) -> Result<()> {
|
|||||||
.env("MIRIFLAGS", miriflags)
|
.env("MIRIFLAGS", miriflags)
|
||||||
.quiet()
|
.quiet()
|
||||||
.run();
|
.run();
|
||||||
if status.is_err() {
|
if let Err(err) = status {
|
||||||
println!("Failing seed: {seed}");
|
println!("Failing seed: {seed}");
|
||||||
break;
|
return Err(err.into());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user