Skip to content

Commit fdb5613

Browse files
committed
many-seeds: propagate failure properly
1 parent c7b86fc commit fdb5613

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/miri/miri-script/src/commands.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,9 @@ impl Command {
380380
.env("MIRIFLAGS", miriflags)
381381
.quiet()
382382
.run();
383-
if status.is_err() {
383+
if let Err(err) = status {
384384
println!("Failing seed: {seed}");
385-
break;
385+
return Err(err.into());
386386
}
387387
}
388388
Ok(())

0 commit comments

Comments
 (0)