Skip to content

Commit a572c6e

Browse files
committed
genhtml 2.x
1 parent a052d89 commit a572c6e

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

test/small_world/MODULE.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ register_toolchains(
2626
)
2727

2828
bazel_dep(name = "googletest", version = "1.16.0")
29+
30+
# bazel run @lcov//:genhtml --version
31+
bazel_dep(name = "lcov", version = "2.3.1")
32+

test/small_world/MODULE.bazel.lock

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/small_world/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ genhtml --branch-coverage --output html cov.dat
1212
```
1313

1414
Mac is not yet supported.
15+
16+
genhtml 2.x:
17+
```
18+
bazel run @lcov//:genhtml -- --output $(pwd)/html --source-directory=$(pwd) "$(bazel info output_path)/_coverage/_coverage_report.dat"
19+
```
20+

0 commit comments

Comments
 (0)