mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 05:05:07 +00:00
Add option and target for generating code cov info
The new `tint-generate-coverage` CMake target can be used with the clang toolchain to generate a `lcov.info` file at the root of the project, along with a `coverage.summary` human readable plain text file. The `lcov.info` file can then be used by various tools to display code coverage information in your IDE / code editor. Useful for ensuring decent test coverage. Change-Id: I3d846f6da3af25d3d600d8e028f27b89e35b545f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/31121 Commit-Queue: Ben Clayton <bclayton@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
bfd81096a5
commit
adb10d60de
2
.gitignore
vendored
2
.gitignore
vendored
@@ -6,6 +6,8 @@
|
||||
.vscode
|
||||
build
|
||||
buildtools
|
||||
coverage.summary
|
||||
lcov.info
|
||||
out
|
||||
testing
|
||||
third_party/cpplint
|
||||
|
||||
Reference in New Issue
Block a user