Fix zip logs for liblinphone tester

This commit is contained in:
Sylvain Berfini 2014-12-16 10:35:01 +01:00
parent 2fc5048ccb
commit defed46e45
2 changed files with 5 additions and 2 deletions

View file

@ -3,5 +3,4 @@ all:
ant installd ant installd
run-all-tests: all run-all-tests: all
adb shell am instrument -w org.linphone.tester/org.linphone.tester.TestRunner ant test
adb shell run-as org.linphone.tester cat /data/data/org.linphone.tester/files/junit-report.xml > liblinphone-junit-report.xml

View file

@ -37,6 +37,10 @@
<arg value="-c" /> <arg value="-c" />
<arg value="kill `cat adb.pid`" /> <arg value="kill `cat adb.pid`" />
</exec> </exec>
<exec executable="bash">
<arg value="-c"/>
<arg value="adb shell run-as org.linphone.tester cat /data/data/org.linphone.tester/files/junit-report.xml > liblinphone-junit-report.xml"/>
</exec>
<zip destfile="${archive.name}.zip"> <zip destfile="${archive.name}.zip">
<fileset dir="." includes="${archive.name}"/> <fileset dir="." includes="${archive.name}"/>
</zip> </zip>