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> </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="-e" /> <arg value="-r" />
<arg value="suite" />
<arg value="Setup" />
<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>