Skip to content

Commit 01049c0

Browse files
authored
Merge pull request #759 from Skgland/detect-spurious-linker-errors
detect linker error due to bus error and categorize it as spurious
2 parents 4759ec5 + 31306ad commit 01049c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/runner/test.rs

+4
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ fn run_cargo(
153153
if line.contains("Address already in use") {
154154
did_network = true;
155155
}
156+
if line.contains("collect2: fatal error: ld terminated with signal 7 [Bus error]") {
157+
// the cause of the bus error is running out of disk space
158+
ran_out_of_space = true;
159+
}
156160
if line.to_lowercase().contains("no space left on device") {
157161
ran_out_of_space = true;
158162
}

0 commit comments

Comments
 (0)