aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_defs/hash/BUILD
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2018-08-09 23:36:39 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-08-09 23:38:24 -0700
commitdf16c77a501ba634b30a1e3d6f76023ac9ea93a9 (patch)
treee01d5f1ac11d565ed00f7f66059eaa884167c910 /tools/build_defs/hash/BUILD
parent18e3f8f24891009ada4da4a2e20e8383df91f0be (diff)
Windows: add //tools/... tests to test suite
Add all tests under //tools/... to //src:all_windows_tests, to run them on Bazel CI. See https://github.com/bazelbuild/bazel/issues/4292 Closes #5839. Change-Id: Iae647f561683cc50ef62416c4b834576ae918486 PiperOrigin-RevId: 208167743
Diffstat (limited to 'tools/build_defs/hash/BUILD')
-rw-r--r--tools/build_defs/hash/BUILD19
1 files changed, 17 insertions, 2 deletions
diff --git a/tools/build_defs/hash/BUILD b/tools/build_defs/hash/BUILD
index fc966173b6..ea90ca7d58 100644
--- a/tools/build_defs/hash/BUILD
+++ b/tools/build_defs/hash/BUILD
@@ -3,7 +3,7 @@ licenses(["notice"]) # Apache 2.0
filegroup(
name = "srcs",
srcs = glob(["**"]),
- visibility = ["//tools:__pkg__"],
+ visibility = ["//tools/build_defs:__pkg__"],
)
exports_files(
@@ -29,5 +29,20 @@ sh_test(
data = ["sha256"],
# TODO(laszlocsomor): use the runfiles library after
# https://github.com/bazelbuild/bazel/issues/4460 is fixed for sh_*
- tags = ["-no_windows"],
+ tags = ["no_windows"],
+)
+
+test_suite(
+ name = "windows_tests",
+ tags = [
+ "-no_windows",
+ "-slow",
+ ],
+ visibility = ["//visibility:private"],
+)
+
+test_suite(
+ name = "all_windows_tests",
+ tests = [":windows_tests"],
+ visibility = ["//tools/build_defs:__pkg__"],
)