Merge branch 'bellesip' of git.linphone.org:linphone-android-private into bellesip

This commit is contained in:
Jehan Monnier 2013-03-13 15:11:02 +01:00
commit 13e2b3e6c0

View file

@ -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>