diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2018-06-15 06:24:13 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-15 06:25:16 -0700 |
commit | 0d0bc63f056da44ebf32a93586191763f12dc141 (patch) | |
tree | cf19293ccef9472bdae3ed99dd93d7fc9aaf99c6 /src/test/shell/integration/BUILD | |
parent | 18de315b074117bd2a1c10a8f42dffb0215bd6fb (diff) |
shell tests: tag tests with "no_windows"
Tag all tests in //src/test/shell/bazel:* that do
not run on Windows yet with "no_windows".
See https://github.com/bazelbuild/bazel/issues/4292
Change-Id: I9823621d5ba4fc02bafe731c17bb7f32785c3b47
Closes #5408.
Change-Id: Ic3b9e8f96221ceff2ea33bfefa2814ba869af1ab
PiperOrigin-RevId: 200707716
Diffstat (limited to 'src/test/shell/integration/BUILD')
-rw-r--r-- | src/test/shell/integration/BUILD | 77 |
1 files changed, 72 insertions, 5 deletions
diff --git a/src/test/shell/integration/BUILD b/src/test/shell/integration/BUILD index 5f53479242..822a5c67a2 100644 --- a/src/test/shell/integration/BUILD +++ b/src/test/shell/integration/BUILD @@ -20,6 +20,7 @@ sh_test( srcs = ["progress_reporting_test.sh"], data = [":test-deps"], shard_count = 8, + tags = ["no_windows"], ) sh_test( @@ -27,7 +28,10 @@ sh_test( size = "medium", srcs = ["runfiles_test.sh"], data = [":test-deps"], - tags = ["local"], + tags = [ + "local", + "no_windows", + ], ) sh_test( @@ -35,6 +39,7 @@ sh_test( size = "medium", srcs = ["python_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -43,6 +48,7 @@ sh_test( srcs = ["loading_phase_tests.sh"], data = [":test-deps"], shard_count = 4, + tags = ["no_windows"], ) sh_test( @@ -50,6 +56,7 @@ sh_test( size = "large", srcs = ["execution_phase_tests.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -58,6 +65,7 @@ sh_test( srcs = ["experimental_ui_test.sh"], data = [":test-deps"], shard_count = 11, + tags = ["no_windows"], ) sh_test( @@ -70,7 +78,10 @@ sh_test( "//src/test/shell:shell_utils", ], shard_count = 5, - tags = ["jdk8"], + tags = [ + "jdk8", + "no_windows", + ], toolchains = ["@bazel_tools//tools/jdk:current_java_runtime"], ) @@ -79,6 +90,7 @@ sh_test( size = "medium", srcs = ["startup_options_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -87,6 +99,7 @@ sh_test( srcs = ["run_test.sh"], data = [":test-deps"], shard_count = 3, + tags = ["no_windows"], ) sh_test( @@ -94,6 +107,7 @@ sh_test( size = "medium", srcs = ["stub_finds_runfiles_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -101,6 +115,7 @@ sh_test( size = "medium", srcs = ["discard_analysis_cache_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -108,6 +123,7 @@ sh_test( size = "large", srcs = ["output_filter_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -115,6 +131,7 @@ sh_test( srcs = ["bazel_testjobs_test.sh"], data = [":test-deps"], shard_count = 3, + tags = ["no_windows"], ) sh_test( @@ -122,6 +139,7 @@ sh_test( size = "large", srcs = ["bazel_query_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -129,6 +147,7 @@ sh_test( size = "large", srcs = ["configured_query_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -137,6 +156,7 @@ sh_test( srcs = ["bazel_command_log_test.sh"], data = [":test-deps"], shard_count = 4, + tags = ["no_windows"], ) sh_test( @@ -144,6 +164,7 @@ sh_test( size = "medium", srcs = ["bazel_javabase_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -153,7 +174,10 @@ sh_test( data = [":test-deps"], # This test doesn't work with the sandbox on, see the source file # for details. - tags = ["local"], + tags = [ + "local", + "no_windows", + ], ) sh_test( @@ -161,6 +185,7 @@ sh_test( size = "medium", srcs = ["force_delete_output_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -169,6 +194,7 @@ sh_test( timeout = "moderate", srcs = ["incompatible_changes_conflict_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -176,6 +202,7 @@ sh_test( size = "medium", srcs = ["skylark_flag_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -183,6 +210,7 @@ sh_test( size = "medium", srcs = ["ui_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -190,6 +218,7 @@ sh_test( size = "medium", srcs = ["rc_options_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -197,6 +226,7 @@ sh_test( size = "large", srcs = ["cpp_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -204,6 +234,7 @@ sh_test( size = "large", srcs = ["action_env_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_library( @@ -217,6 +248,7 @@ sh_test( size = "medium", srcs = ["stamping_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -228,6 +260,7 @@ sh_test( ":test-deps", ], shard_count = 6, + tags = ["no_windows"], ) sh_test( @@ -238,6 +271,7 @@ sh_test( ":discard_graph_edges_lib.sh", ":test-deps", ], + tags = ["no_windows"], ) sh_test( @@ -247,6 +281,7 @@ sh_test( srcs = ["build_event_stream_test.sh"], data = [":test-deps"], shard_count = 2, + tags = ["no_windows"], ) sh_test( @@ -262,7 +297,10 @@ sh_test( "//src/test/java/com/google/devtools/build/lib:ExampleWorker_deploy.jar", ], shard_count = 3, - tags = ["jdk8"], + tags = [ + "jdk8", + "no_windows", + ], ) sh_test( @@ -280,7 +318,10 @@ sh_test( # TODO(b/34450149): remove when no longer flaky flaky = 1, shard_count = 3, - tags = ["jdk8"], + tags = [ + "jdk8", + "no_windows", + ], ) sh_test( @@ -288,6 +329,7 @@ sh_test( size = "medium", srcs = ["server_logging_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -295,12 +337,14 @@ sh_test( size = "medium", srcs = ["client_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( name = "test_test", srcs = ["test_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -308,6 +352,7 @@ sh_test( size = "medium", srcs = ["outputs_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -321,6 +366,7 @@ sh_test( "//src/main/protobuf:execution_statistics.proto", "//third_party/protobuf:protoc", ], + tags = ["no_windows"], ) sh_test( @@ -335,6 +381,7 @@ sh_test( "//src/test/shell:sandboxing_test_utils.sh", "//third_party/protobuf:protoc", ], + tags = ["no_windows"], ) sh_test( @@ -345,6 +392,7 @@ sh_test( ":test-deps", "//src/test/shell:sandboxing_test_utils.sh", ], + tags = ["no_windows"], ) package_group( @@ -372,6 +420,7 @@ sh_test( size = "medium", srcs = ["prelude_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -379,6 +428,7 @@ sh_test( size = "medium", srcs = ["sandboxfs_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) ######################################################################## @@ -388,3 +438,20 @@ test_suite( name = "all_tests", visibility = ["//visibility:public"], ) + +test_suite( + name = "windows_tests", + tags = [ + "-no_windows", + "-slow", + ], + visibility = ["//visibility:private"], +) + +test_suite( + name = "all_windows_tests", + tests = [ + ":windows_tests", + ], + visibility = ["//src/test/shell:__pkg__"], +) |