Skip to content

Commit 13e41ce

Browse files
authored
Merge branch 'develop' into fix/ios-test-run-parser
2 parents 0fe6437 + 379a9a3 commit 13e41ce

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

vendor/vendor-android/src/main/kotlin/com/malinskiy/marathon/android/adam/AmInstrumentTestParser.kt

+6-2
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,14 @@ class AmInstrumentTestParser(
138138
}
139139
}
140140

141-
is TestRunFailed -> Unit
141+
is TestRunFailed -> {
142+
//Happens on Android Wear if classpath is misconfigured
143+
if (event.error.contains("Process crashed")) {
144+
throw TestAnnotationProducerNotFoundException()
145+
}
146+
}
142147
is TestRunStopped -> Unit
143148
is TestRunEnded -> Unit
144-
145149
}
146150
}
147151
}

0 commit comments

Comments
 (0)