Skip to content

Instantly share code, notes, and snippets.

@cafedeaqua
Created January 15, 2014 07:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cafedeaqua/8432140 to your computer and use it in GitHub Desktop.
Save cafedeaqua/8432140 to your computer and use it in GitHub Desktop.
for fetch-test-report
<?xml version="1.0" encoding="UTF-8"?>
<project name="cutom">
<property name="reports.dir" value="bin/reports"/>
<!-- The following target shows how to fetch the default report using adb pull. -->
<target name="fetch-test-report">
<echo>Downloading XML test report...</echo>
<mkdir dir="${reports.dir}"/>
<exec executable="${adb}" failonerror="true">
<arg line="${adb.device.arg}"/>
<arg value="pull"/>
<arg value="/data/data/${tested.project.app.package}/files/junit-report.xml"/>
<arg value="${reports.dir}/junit-report.xml" />
</exec>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment