aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/native/BUILD
diff options
context:
space:
mode:
authorGravatar L?szl? Csomor <laszlocsomor@google.com>2017-09-19 17:12:32 +0200
committerGravatar László Csomor <laszlocsomor@google.com>2017-09-19 17:19:14 +0200
commit088f6113007d1a341893d915a87b93a4aed9898e (patch)
tree39efddacd8d0876980e230c3b9cc0bc72ca27b2b /src/test/native/BUILD
parent807a9b236963ff863573050d5aba146a9bbe23db (diff)
CI,windows: create test_suites for Windows tests
Add recursive test_suite rules for all tests that ci.bazel.io runs for Windows, and set the top-level test_suite as the CI test target. Doing so shortens the command line and works around https://github.com/bazelbuild/bazel/issues/3742 I verified that the old set of tests are the same as the new set. Change-Id: Id8d5da3f0c03c9b8969a9f8e1e9a3096888365aa PiperOrigin-RevId: 169242858
Diffstat (limited to 'src/test/native/BUILD')
-rw-r--r--src/test/native/BUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/native/BUILD b/src/test/native/BUILD
index cd22785004..38bb9921e1 100644
--- a/src/test/native/BUILD
+++ b/src/test/native/BUILD
@@ -47,3 +47,20 @@ cc_test(
)
test_suite(name = "all_tests")
+
+test_suite(
+ name = "windows_tests",
+ tags = [
+ "-no_windows",
+ "-slow",
+ ],
+ visibility = ["//visibility:private"],
+)
+
+test_suite(
+ name = "all_windows_tests",
+ tests = [
+ ":windows_tests",
+ ],
+ visibility = ["//src:__pkg__"],
+)