Skip to content

Commit

Permalink
Revert collect_coverage change that enables the new Java coverage
Browse files Browse the repository at this point in the history
in blaze. This should be enabled only after the blaze release, otherwise it makes code coverage drop, mainly due to including auto-generated files in the coverage report.

PiperOrigin-RevId: 164724689
  • Loading branch information
iirina authored and hlopko committed Aug 10, 2017
1 parent 2b3207b commit 9996519
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ public void setupEnvVariables(Map<String, String> env, Duration timeout) {
env.put("COVERAGE_MANIFEST", getCoverageManifest().getExecPathString());
env.put("COVERAGE_DIR", getCoverageDirectory().getPathString());
env.put("COVERAGE_OUTPUT_FILE", getCoverageData().getExecPathString());
// TODO(elenairina): Remove this after the next blaze release (after 2017.07.30).
env.put("NEW_JAVA_COVERAGE_IMPL", "True");
}
}

Expand Down

0 comments on commit 9996519

Please sign in to comment.