Skip to content

Commit 2886c40

Browse files
authored
Merge pull request eclipse-score#518 from castler/js_fix_coverage
Provide implicit coverage attributes
2 parents 9398471 + 86e0b6b commit 2886c40

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

quality/unit_testing/unit_testing.bzl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ _forwarding_test = rule(
4949
default = [],
5050
allow_files = True,
5151
),
52+
# Implicit dependencies used by Bazel to generate coverage reports.
53+
"_lcov_merger": attr.label(
54+
default = configuration_field(fragment = "coverage", name = "output_generator"),
55+
executable = True,
56+
cfg = config.exec(exec_group = "test"),
57+
),
58+
"_collect_cc_coverage": attr.label(
59+
default = "@bazel_tools//tools/test:collect_cc_coverage",
60+
executable = True,
61+
cfg = config.exec(exec_group = "test"),
62+
),
5263
},
5364
)
5465

0 commit comments

Comments
 (0)