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
diff --git a/src/BUILD b/src/BUILD
index a8bda8a..2d17b2e 100644
--- a/src/BUILD
+++ b/src/BUILD
@@ -447,3 +447,33 @@
     tools = ["combine_derived_java_srcs.sh"],
     visibility = ["//:__pkg__"],
 )
+
+test_suite(
+    name = "windows_tests",
+    tags = [
+        "-no_windows",
+        "-slow",
+    ],
+    visibility = ["//visibility:private"],
+)
+
+test_suite(
+    name = "all_windows_tests",
+    tests = [
+        ":windows_tests",
+        "//src/test/cpp:all_windows_tests",
+        "//src/test/java/com/google/devtools/build/android:all_windows_tests",
+        "//src/test/java/com/google/devtools/build/docgen:all_windows_tests",
+        "//src/test/java/com/google/devtools/build/lib:all_windows_tests",
+        "//src/test/java/com/google/devtools/build/skyframe:all_windows_tests",
+        "//src/test/java/com/google/devtools/common/options:all_windows_tests",
+        "//src/test/native:all_windows_tests",
+        "//src/test/py/bazel:all_windows_tests",
+        "//src/test/shell/bazel:bazel_bootstrap_distfile_test",
+        "//src/test/shell/bazel:bazel_windows_example_test",
+        "//src/tools/launcher:all_windows_tests",
+        # TODO(laszlocsomor): uncomment the line below after I added the
+        # corresponding target to the third_party package on GitHub.
+        # "//third_party/def_parser:all_windows_tests",
+    ],
+)