trustedintents / test / custom_rules.xml @ 8c9c9a54
History | View | Annotate | Download (681 Bytes)
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|---|---|
| 2 |
<project name="test_custom_rules" default="fetch-test-report"> |
| 3 |
|
| 4 |
<target name="fetch-test-report"> |
| 5 |
<xpath
|
| 6 |
expression="/manifest/@package" |
| 7 |
input="${tested.project.dir}/AndroidManifest.xml" |
| 8 |
output="tested.package" /> |
| 9 |
<echo>Downloading XML test report (/data/data/${tested.package}/files/junit-report.xml)…</echo> |
| 10 |
<mkdir dir="junitreports"/> |
| 11 |
<exec executable="${adb}" failonerror="true"> |
| 12 |
<arg line="${adb.device.arg}"/> |
| 13 |
<arg value="pull" /> |
| 14 |
<arg value="/data/data/${tested.package}/files/junit-report.xml" /> |
| 15 |
<arg value="junit-report.xml" /> |
| 16 |
</exec>
|
| 17 |
</target>
|
| 18 |
|
| 19 |
</project>
|