aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar elenairina <elenairina@google.com>2017-08-09 17:07:33 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-08-10 13:42:16 +0200
commit99965197bd3eb418a28b87360e4bfb10275db21e (patch)
treef749e1e8b7d8b70696b3b13803c590a9c41a9478
parent2b3207b04b12d14ee8013eb32b600e07633c5e48 (diff)
Revert collect_coverage change that enables the new Java coverage
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
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java b/src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java
index 8a58468ac7..c2ae57e93a 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/test/TestRunnerAction.java
@@ -460,6 +460,8 @@ public class TestRunnerAction extends AbstractAction implements NotifyOnActionCa
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");
}
}