custom_rules.xml: detect another crash in tests

This commit is contained in:
Gautier Pelloux-Prayer 2015-04-15 09:30:39 +02:00
parent 190bee4649
commit 6ea438aeea
2 changed files with 2 additions and 0 deletions

View file

@ -41,6 +41,7 @@
<resourcecontains resource="${output.file}" substring="Process crashed" />
<resourcecontains resource="${output.file}" substring="Native crash" />
<resourcecontains resource="${output.file}" substring="longMsg=junit.framework.AssertionFailedError: View with id: '" />
<resourcecontains resource="${output.file}" substring="longMsg=java.lang.RuntimeException:" />
</or>
</condition>
<exec executable="bash" unless:set="has.crashed">

View file

@ -33,6 +33,7 @@
<resourcecontains resource="${output.file}" substring="Process crashed" />
<resourcecontains resource="${output.file}" substring="Native crash" />
<resourcecontains resource="${output.file}" substring="longMsg=junit.framework.AssertionFailedError: View with id: '" />
<resourcecontains resource="${output.file}" substring="longMsg=java.lang.RuntimeException:" />
</or>
</condition>