Run jacoco on host jar files.
Jacoco is not generating .exec files for junit targets. I traced the root of the issue to the out/Debug/lib.java/base/base_java.jar (and other host jars) not being run through jacoco. Less redundant code would be to set the _previous_output_jar to the results of the host_filter jar, but then that'd get run through desugar, which was the reason for the changes in the first place (see https://chromium-review.googlesource.com/c/chromium/src/+/2241865) We were running on-the-fly code coverage with a javaagent sent as an arg to the jvm, but that did not generate the desired coverage data so we're going to use all offline. Bug: 1097815 Change-Id: I0d9b4a48f921b743ee5179345fd6a81fa9437cc6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2291835 Commit-Queue: benjamin joyce <bjoyce@chromium.org> Reviewed-by:Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#789673}
Showing
Please register or sign in to comment