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 4759ec5 + 31306ad commit 01049c0
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 @@ -153,6 +153,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 01049c0

Please sign in to comment.