Skip to content

Instantly share code, notes, and snippets.

@fishy fishy/ant-test.patch
Created Oct 20, 2011

Embed
What would you like to do?
The patch you'll need for "ant test" to run in ADT r14
diff --git a/build.xml b/build.xml
index 9315a5e..63a0bb0 100644
--- a/tools/ant/build.xml
+++ b/tools/ant/build.xml
@@ -1043,6 +1043,10 @@
<xpath input="${tested.project.absolute.dir}/AndroidManifest.xml"
expression="/manifest/@package" output="tested.manifest.package" />
+ <!-- Name of the application package extracted from manifest file -->
+ <xpath input="AndroidManifest.xml" expression="/manifest/@package"
+ output="manifest.package" />
+
<property name="emma.dump.file"
value="/data/data/${tested.manifest.package}/coverage.ec" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.