Bazel's coverage_support option

28 views
Skip to first unread message

Michael Fitzner

unread,
Jun 2, 2022, 4:56:19 PMJun 2
to bazel-discuss
I try to override the internal collect_coverage.sh script by using the command line option '--coverage_support' but it seems that this gets ignored.

- I use Bazel 5.1.1
- I defined

filegroup(
name = "coverage_support",
srcs = [
"collect_coverage.sh"
],
)

- I configured "coverage --coverage_support="//:coverage_support""

The output shows "external/bazel_tools/tools/test/test-setup.sh external/bazel_tools/tools/test/collect_coverage.sh libs/foo1-c/test/unit/foo1_test"

Has someone further information about this flag and how it should work?


Michael Fitzner

unread,
Jun 2, 2022, 5:00:31 PMJun 2
to bazel-discuss
I just have seen that there is also a but report https://github.com/bazelbuild/bazel/issues/13973
Reply all
Reply to author
Forward
0 new messages