diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2018-08-09 23:36:39 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-08-09 23:38:24 -0700 |
commit | df16c77a501ba634b30a1e3d6f76023ac9ea93a9 (patch) | |
tree | e01d5f1ac11d565ed00f7f66059eaa884167c910 /tools/python | |
parent | 18e3f8f24891009ada4da4a2e20e8383df91f0be (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/python')
-rw-r--r-- | tools/python/BUILD | 8 | ||||
-rw-r--r-- | tools/python/runfiles/BUILD | 16 |
2 files changed, 24 insertions, 0 deletions
diff --git a/tools/python/BUILD b/tools/python/BUILD index ab09128e0c..a344b44287 100644 --- a/tools/python/BUILD +++ b/tools/python/BUILD @@ -31,3 +31,11 @@ filegroup( ], visibility = ["//tools:__pkg__"], ) + +test_suite( + name = "all_windows_tests", + tests = [ + "//tools/python/runfiles:all_windows_tests", + ], + visibility = ["//tools:__pkg__"], +) diff --git a/tools/python/runfiles/BUILD b/tools/python/runfiles/BUILD index 79273e85ce..08cec716cb 100644 --- a/tools/python/runfiles/BUILD +++ b/tools/python/runfiles/BUILD @@ -33,3 +33,19 @@ py_test( visibility = ["//visibility:public"], deps = [":runfiles"], ) + +test_suite( + name = "windows_tests", + tags = [ + "-no_windows", + "-slow", + ], +) + +test_suite( + name = "all_windows_tests", + tests = [ + ":windows_tests", + ], + visibility = ["//tools/python:__pkg__"], +) |