summaryrefslogtreecommitdiff
path: root/rust/rust_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2020-06-23 03:06:53 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-06-23 03:06:53 +0000
commitc9ef6ee1b75948e38d0653ca71fe63eeb754f11e (patch)
tree853d282d0e0130c4870e37eb2d8ed17768e93ab8 /rust/rust_test.go
parentbb28b8c9ca9f43d91239ed7119f9e6bddc8c8d5e (diff)
parent1a6acd4f39b8ea2b030444deb4ecdb0af652e5aa (diff)
Merge "Make native_coverage clause work with ClangCoverage"
Diffstat (limited to 'rust/rust_test.go')
-rw-r--r--rust/rust_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go
index fe21e3a39..703aaed29 100644
--- a/rust/rust_test.go
+++ b/rust/rust_test.go
@@ -88,6 +88,7 @@ func testRustContext(t *testing.T, bp string, coverage bool) *android.TestContex
config := testConfig(bp)
if coverage {
+ config.TestProductVariables.GcovCoverage = proptools.BoolPtr(true)
config.TestProductVariables.Native_coverage = proptools.BoolPtr(true)
config.TestProductVariables.NativeCoveragePaths = []string{"*"}
}