Created
November 26, 2012 08:35
-
-
Save Axxiss/4147213 to your computer and use it in GitHub Desktop.
Download junit report from AVD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <target name="init-props"> | |
| <xpath input="${tested.project.dir}/AndroidManifest.xml" | |
| expression="/manifest/@package" output="tested.project.app.package"/> | |
| </target> | |
| <target name="fetch-test-report" depends="init-props"> | |
| <echo>Downloading XML test report...</echo> | |
| <mkdir dir="reports"/> | |
| <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/junit-report.xml"/> | |
| </exec> | |
| </target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment