Skip to content

Instantly share code, notes, and snippets.

@fishy
Created October 20, 2011 13:50
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 fishy/1301187 to your computer and use it in GitHub Desktop.
Save fishy/1301187 to your computer and use it in GitHub Desktop.
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