diff options
author | Kenny Root <kroot@google.com> | 2012-10-24 14:51:55 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2012-10-24 15:44:47 -0700 |
commit | f5328e232f808eaca7bc594db40bd647f631d23e (patch) | |
tree | 7c9e95b09f5fb073280d5b7fef81f6a3f4b9bbdc | |
parent | 98ee061abe1ff0343901fbfe24684e3b64fc99a5 (diff) | |
download | sdk-f5328e232f808eaca7bc594db40bd647f631d23e.zip sdk-f5328e232f808eaca7bc594db40bd647f631d23e.tar.gz sdk-f5328e232f808eaca7bc594db40bd647f631d23e.tar.bz2 |
emma: XML and text reports as well
Since we have no way for a user to tell emma what kind of report we
want, just save all three types. The HTML one is the largest, the XML
report is usually less than 10% of the size, and the text report is
usually a few kilobytes.
Also fix the temporary file cleanup to delete the right coverage.em
file.
Change-Id: Ifc60fa4bf8a3b6b0e699e20dcbff8c818c19729b
-rw-r--r-- | files/ant/build.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/files/ant/build.xml b/files/ant/build.xml index cd4113f..b65be95 100644 --- a/files/ant/build.xml +++ b/files/ant/build.xml @@ -1300,11 +1300,13 @@ <infileset file="${tested.project.out.absolute.dir}/coverage.em" /> <!-- TODO: reports in other, indicated by user formats --> <html outfile="${out.absolute.dir}/coverage.html" /> + <txt outfile="${out.absolute.dir}/coverage.txt" /> + <xml outfile="${out.absolute.dir}/coverage.xml" /> </report> </emma> <echo level="info">Cleaning up temporary files...</echo> <delete file="${out.absolute.dir}/coverage.ec" /> - <delete file="${out.absolute.dir}/coverage.em" /> + <delete file="${tested.project.out.absolute.dir}/coverage.em" /> <exec executable="${adb}" failonerror="true"> <arg line="${adb.device.arg}" /> <arg value="shell" /> @@ -1313,7 +1315,7 @@ <arg value="rm" /> <arg value="${emma.dump.file}" /> </exec> - <echo level="info">Saving the report file in ${out.absolute.dir}/coverage.html</echo> + <echo level="info">Saving the coverage reports in ${out.absolute.dir}</echo> </then> <else> <run-tests-helper /> |