Skip to content

Commit d0da380

Browse files
committed
Fix reporting of test srcs again
1 parent 86cd5b3 commit d0da380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cc/defs2.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def _add_test(**kwargs):
374374
if not (type == UNIT or type == INTEGRATION):
375375
fail("The 'type' attribute must be either UNIT or INTEGRATION")
376376

377-
kwargs["tags"] = [BINARY, TEST, level, type] + kwargs.get("tags", [])
377+
kwargs["tags"] = [BINARY, TEST, level, type, "test_srcs"] + kwargs.get("tags", [])
378378

379379
kwargs["target_compatible_with"] = kwargs.get("target_compatible_with", []) + _test_compatible_with()
380380

0 commit comments

Comments
 (0)