Skip to content

Commit

Permalink
Merge pull request #759 from Skgland/detect-spurious-linker-errors
Browse files Browse the repository at this point in the history
detect linker error due to bus error and categorize it as spurious
  • Loading branch information
pietroalbini authored Dec 30, 2024
2 parents 904e750 + 31306ad commit 4c22eac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/runner/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ fn run_cargo(
if line.contains("Address already in use") {
did_network = true;
}
if line.contains("collect2: fatal error: ld terminated with signal 7 [Bus error]") {
// the cause of the bus error is running out of disk space
ran_out_of_space = true;
}
if line.to_lowercase().contains("no space left on device") {
ran_out_of_space = true;
}
Expand Down

0 comments on commit 4c22eac

Please sign in to comment.