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>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
<target name="test">
|
<target name="test">
|
||||||
<exec executable="adb">
|
<exec executable="adb" failonerror="true" outputproperty="tests.output">
|
||||||
<arg value="shell" />
|
<arg value="shell" />
|
||||||
<arg value="am" />
|
<arg value="am" />
|
||||||
<arg value="instrument" />
|
<arg value="instrument" />
|
||||||
|
<arg value="-r" />
|
||||||
<arg value="-w" />
|
<arg value="-w" />
|
||||||
<arg value="org.linphone.tester/org.linphone.tester.TestRunner" />
|
<arg value="org.linphone.tester/org.linphone.tester.TestRunner" />
|
||||||
</exec>
|
</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>
|
</target>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in a new issue