Skip to content

Commit

Permalink
Work around "pizza mode" bug
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Sep 1, 2022
1 parent 4d791ef commit 2e92546
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cargo-test-fuzz/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,10 @@ fn fuzz(opts: &TestFuzz, executable: &Executable, target: &str) -> Result<()> {
if line.contains("Time limit was reached") {
time_limit_was_reached = true;
}
if line.contains("+++ Testing aborted programmatically +++") {
// smoelius: Work around "pizza mode" bug.
if line.contains("+++ Testing aborted programmatically +++")
|| line.contains("+++ Baking aborted programmatically +++")
{
testing_aborted_programmatically = true;
}
println!("{}", line);
Expand Down

0 comments on commit 2e92546

Please sign in to comment.