add custom ant rules for downloading JUnit results
This commit is contained in:
parent
c1d0ec43c3
commit
da329089fb
15
custom_rules.xml
Normal file
15
custom_rules.xml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project name="custom_rules" default="fetch-test-report">
|
||||||
|
|
||||||
|
<target name="fetch-test-report">
|
||||||
|
<echo>Downloading XML test report…</echo>
|
||||||
|
<mkdir dir="junitreports"/>
|
||||||
|
<exec executable="${adb}" failonerror="true">
|
||||||
|
<arg line="${adb.device.arg}"/>
|
||||||
|
<arg value="pull" />
|
||||||
|
<arg value="/data/data/${tested.manifest.package}/files/junit-report.xml" />
|
||||||
|
<arg value="junitreports/junit-report.xml" />
|
||||||
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
</project>
|
Loading…
x
Reference in New Issue
Block a user