Skip to content

Commit f782615

Browse files
authored
Pass along tags in scala_test_suite (#1261)
This is useful to set a suite to `manual` for example.
1 parent a21cfdc commit f782615

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scala/private/rules/scala_test.bzl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ def scala_test_suite(
127127
srcs = [],
128128
visibility = None,
129129
use_short_names = False,
130+
tags = [],
130131
**kwargs):
131132
ts = []
132133
i = 0
@@ -138,7 +139,8 @@ def scala_test_suite(
138139
srcs = [test_file],
139140
visibility = visibility,
140141
unused_dependency_checker_mode = "off",
142+
tags = tags,
141143
**kwargs
142144
)
143145
ts.append(n)
144-
native.test_suite(name = name, tests = ts, visibility = visibility)
146+
native.test_suite(name = name, tests = ts, visibility = visibility, tags = tags)

0 commit comments

Comments
 (0)