Skip to content

Commit 31306ad

Browse files
committed
detect linker error due to bus error and categorize it as spurious
- sorted under NoSpace as thats the underlying reason for the bus error
1 parent 4759ec5 commit 31306ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/runner/test.rs

Lines changed: 4 additions & 0 deletions
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)