Merge branch 'bellesip' of git.linphone.org:linphone-android-private into bellesip
This commit is contained in:
commit
13e2b3e6c0
1 changed files with 13 additions and 4 deletions
|
@ -12,15 +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="-e" />
|
||||
<arg value="suite" />
|
||||
<arg value="Setup" />
|
||||
<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