Verbose liblinphone_tester
This commit is contained in:
parent
071fcc7b31
commit
f589898242
1 changed files with 13 additions and 1 deletions
|
@ -12,12 +12,24 @@
|
|||
</exec>
|
||||
</target>
|
||||
<target name="test">
|
||||
<exec executable="adb">
|
||||
<exec executable="adb" failonerror="true" outputproperty="tests.output">
|
||||
<arg value="shell" />
|
||||
<arg value="am" />
|
||||
<arg value="instrument" />
|
||||
<arg value="-r" />
|
||||
<arg value="-w" />
|
||||
<arg value="org.linphone.tester/org.linphone.tester.TestRunner" />
|
||||
</exec>
|
||||
<echo message="${tests.output}"/>
|
||||
<fail message="Tests failed">
|
||||
<condition>
|
||||
<contains string="${tests.output}" substring="FAILURES" />
|
||||
</condition>
|
||||
</fail>
|
||||
<fail message="Tests crashed">
|
||||
<condition>
|
||||
<contains string="${tests.output}" substring="Process crashed" />
|
||||
</condition>
|
||||
</fail>
|
||||
</target>
|
||||
</project>
|
||||
|
|
Loading…
Reference in a new issue