many-seeds: propagate failure properly

This commit is contained in:
Ralf Jung 2024-03-24 14:45:32 +01:00
parent c7b86fc708
commit fdb561309d

View File

@ -380,9 +380,9 @@ impl Command {
.env("MIRIFLAGS", miriflags)
.quiet()
.run();
if status.is_err() {
if let Err(err) = status {
println!("Failing seed: {seed}");
break;
return Err(err.into());
}
}
Ok(())