diff options
author | Joel Galenson <jgalenson@google.com> | 2021-01-14 16:03:18 -0800 |
---|---|---|
committer | Joel Galenson <jgalenson@google.com> | 2021-01-15 19:44:07 +0000 |
commit | fa049385b89273f8c0ab3cd76e5ff3724265ec6c (patch) | |
tree | 0d5449d0fbef8dc3679b588d5609b0c1986dc92b /rust/rust_test.go | |
parent | 66f7fdd1c89ad5d0eab631143902f6ee17de6332 (diff) |
Migrate Rust to LLVM coverage.
Bug: 177675913
Test: Manually compile, run, and see output with llvm-cov.
Change-Id: I66729cff87a848782e9fa1b95cbbc06318c5761a
Diffstat (limited to 'rust/rust_test.go')
-rw-r--r-- | rust/rust_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go index 48c8d74f6..fc7f47e08 100644 --- a/rust/rust_test.go +++ b/rust/rust_test.go @@ -134,7 +134,7 @@ func (tctx *testRustCtx) enableCoverage(t *testing.T) { if tctx.config == nil { t.Fatalf("tctx.config not been generated yet. Please call generateConfig first.") } - tctx.config.TestProductVariables.GcovCoverage = proptools.BoolPtr(true) + tctx.config.TestProductVariables.ClangCoverage = proptools.BoolPtr(true) tctx.config.TestProductVariables.Native_coverage = proptools.BoolPtr(true) tctx.config.TestProductVariables.NativeCoveragePaths = []string{"*"} } |