diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2018-04-26 07:39:41 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-26 07:41:28 -0700 |
commit | a7f202c3ae18a66d5ad6e1292e098bb8bd13482b (patch) | |
tree | 3f7eaedb0b52aaa5657fad82cc33accd1072fdec /tools/bash | |
parent | d26d0ca3510dbd9da624bcccb160fca0d9621568 (diff) |
tests,shell: enable some shell tests on Windows
In this commit:
- split //src/test/shell:shell_utils_test into a
symlink-specific part and the rest
- use the Bash runfiles library
- add "windows_tests" and "all_windows_tests"
targets as we do in other platforms (e.g. in
//src:BUILD)
See https://github.com/bazelbuild/bazel/issues/4930
See https://github.com/bazelbuild/bazel/issues/4292
Change-Id: I111a7fed223f1f9b767dc6411389465f8da3e043
PiperOrigin-RevId: 194395011
Diffstat (limited to 'tools/bash')
-rw-r--r-- | tools/bash/runfiles/BUILD | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/bash/runfiles/BUILD b/tools/bash/runfiles/BUILD index adec4cef86..ed2d30fdb8 100644 --- a/tools/bash/runfiles/BUILD +++ b/tools/bash/runfiles/BUILD @@ -25,6 +25,9 @@ sh_library( name = "runfiles_lib", testonly = 1, srcs = ["runfiles.bash"], + # TODO(laszlocsomor): remove this visibility after the tests under + # //src/test/shell/... depend on @bazel_tools//tools/bash/runfiles + visibility = ["//src/test/shell:__subpackages__"], ) sh_test( |