diff --git a/src/test/shell/bazel/BUILD b/src/test/shell/bazel/BUILD index 0b38915e467ef6..29e10f19379dda 100644 --- a/src/test/shell/bazel/BUILD +++ b/src/test/shell/bazel/BUILD @@ -63,6 +63,7 @@ sh_test( "//src/test/shell/bazel/apple:objc-deps", ], shard_count = 3, + tags = ["no_windows"], ) sh_test( @@ -81,6 +82,7 @@ sh_test( data = [ ":test-deps", ], + tags = ["no_windows"], ) sh_test( @@ -91,6 +93,7 @@ sh_test( ":test-deps", "//:workspace-file", ], + tags = ["no_windows"], ) sh_test( @@ -98,6 +101,7 @@ sh_test( size = "medium", srcs = ["bazel_embedded_skylark_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -105,7 +109,7 @@ sh_test( size = "large", srcs = ["bazel_random_characters_test.sh"], data = [":test-deps"], - tags = ["nowindows"], + tags = ["no_windows"], ) sh_test( @@ -114,6 +118,7 @@ sh_test( timeout = "eternal", srcs = ["bazel_java_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -121,6 +126,7 @@ sh_test( size = "medium", srcs = ["bazel_build_event_stream_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -128,6 +134,7 @@ sh_test( size = "medium", srcs = ["bazel_experimental_ui_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -135,6 +142,7 @@ sh_test( size = "large", srcs = ["bazel_rules_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -143,13 +151,17 @@ sh_test( srcs = ["bazel_test_test.sh"], data = [":test-deps"], shard_count = 3, - tags = ["local"], + tags = [ + "local", + "no_windows", + ], ) sh_test( name = "bazel_spawnstats_test", srcs = ["bazel_spawnstats_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -159,6 +171,7 @@ sh_test( tags = [ "jdk8", # TODO(elenairina): Re-enable for JDK7 once https://github.com/bazelbuild/bazel/issues/2890 is fixed. "local", + "no_windows", ], ) @@ -166,13 +179,17 @@ sh_test( name = "bazel_localtest_test", srcs = ["bazel_localtest_test.sh"], data = [":test-deps"], - tags = ["local"], + tags = [ + "local", + "no_windows", + ], ) sh_test( name = "bazel_execute_testlog", srcs = ["bazel_execute_testlog.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -186,6 +203,7 @@ sh_test( "//conditions:default": ["//src/test/shell/bazel/testdata:bazel_toolchain_test_project_pkg"], }), tags = [ + "no_windows", "requires-network", ], ) @@ -205,6 +223,7 @@ sh_test( ":test-deps", "//src/test/shell/bazel/testdata:embedded_tools_deps_test_data", ], + tags = ["no_windows"], ) sh_test( @@ -212,6 +231,7 @@ sh_test( size = "large", srcs = ["bazel_docgen_test.sh"], data = ["//src/main/java/com/google/devtools/build/lib:gen_buildencyclopedia"], + tags = ["no_windows"], ) sh_test( @@ -219,6 +239,7 @@ sh_test( size = "large", srcs = ["external_correctness_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -227,6 +248,7 @@ sh_test( srcs = ["external_integration_test.sh"], data = [":test-deps"], shard_count = 12, + tags = ["no_windows"], ) sh_test( @@ -235,6 +257,7 @@ sh_test( srcs = ["external_patching_test.sh"], data = [":test-deps"], shard_count = 3, + tags = ["no_windows"], ) sh_test( @@ -243,6 +266,7 @@ sh_test( srcs = ["external_path_test.sh"], data = [":test-deps"], shard_count = 6, + tags = ["no_windows"], ) sh_test( @@ -253,6 +277,7 @@ sh_test( ":test-deps", "//src/test/shell/bazel/testdata:git-repos", ], + tags = ["no_windows"], ) sh_test( @@ -263,6 +288,7 @@ sh_test( ":test-deps", "//src/test/shell/bazel/testdata:git-repos", ], + tags = ["no_windows"], ) sh_test( @@ -271,6 +297,7 @@ sh_test( srcs = ["local_repository_test.sh"], data = [":test-deps"], shard_count = 3, + tags = ["no_windows"], ) sh_test( @@ -278,7 +305,10 @@ sh_test( size = "medium", srcs = ["local_repository_test_jdk8.sh"], data = [":test-deps"], - tags = ["jdk8"], + tags = [ + "jdk8", + "no_windows", + ], ) sh_test( @@ -286,12 +316,14 @@ sh_test( size = "large", srcs = ["cross_repository_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( name = "skylark_prefetching_test", srcs = ["skylark_prefetching_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -300,6 +332,7 @@ sh_test( srcs = ["external_skylark_load_test.sh"], data = [":test-deps"], shard_count = 6, + tags = ["no_windows"], ) sh_test( @@ -308,6 +341,7 @@ sh_test( srcs = ["skylark_repository_test.sh"], data = [":test-deps"], shard_count = 6, + tags = ["no_windows"], ) sh_test( @@ -315,6 +349,7 @@ sh_test( size = "small", srcs = ["disk_cache_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -322,18 +357,21 @@ sh_test( size = "medium", srcs = ["runfiles_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( name = "empty_package_test", srcs = ["empty_package.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( name = "location_test", srcs = ["location_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -341,6 +379,7 @@ sh_test( size = "large", srcs = ["maven_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) # To run this test, ensure that maven_dependency_plugin() and @@ -354,7 +393,10 @@ sh_test( "//external:android_sdk_for_testing", "@m2//:files", ], - tags = ["manual"], + tags = [ + "manual", + "no_windows", + ], ) sh_test( @@ -362,6 +404,7 @@ sh_test( size = "large", srcs = ["workspace_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -370,6 +413,7 @@ sh_test( srcs = ["workspace_resolved_test.sh"], data = [":test-deps"], shard_count = 4, + tags = ["no_windows"], ) sh_test( @@ -377,6 +421,7 @@ sh_test( size = "medium", srcs = ["cc_integration_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -391,6 +436,7 @@ sh_test( tags = [ "local", "manual", + "no_windows", ], ) @@ -403,7 +449,10 @@ sh_test( "//src/test/shell:sandboxing_test_utils.sh", "@mount_path_toolchain//file", ], - tags = ["local"], + tags = [ + "local", + "no_windows", + ], ) sh_test( @@ -413,7 +462,10 @@ sh_test( ":test-deps", "//src/test/shell:sandboxing_test_utils.sh", ], - tags = ["local"], + tags = [ + "local", + "no_windows", + ], ) sh_test( @@ -421,6 +473,7 @@ sh_test( size = "large", srcs = ["bazel_workspace_status_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -432,6 +485,7 @@ sh_test( "//:workspace-file", "//src/test/shell/bazel/apple:objc-deps", ], + tags = ["no_windows"], ) sh_test( @@ -439,6 +493,7 @@ sh_test( size = "medium", srcs = ["client_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -446,6 +501,7 @@ sh_test( size = "medium", srcs = ["execroot_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -454,6 +510,7 @@ sh_test( srcs = ["bazel_repository_cache_test.sh"], data = [":test-deps"], shard_count = 6, + tags = ["no_windows"], ) sh_test( @@ -464,6 +521,7 @@ sh_test( ":test-deps", "//src:bazel_with_jdk", ], + tags = ["no_windows"], ) sh_test( @@ -471,6 +529,7 @@ sh_test( size = "medium", srcs = ["build_files_test.sh"], data = [":test-deps"], + tags = ["no_windows"], ) sh_test( @@ -500,6 +559,7 @@ sh_test( ], tags = [ "jdk8", + "no_windows", "slow", ], ) @@ -510,6 +570,7 @@ sh_test( srcs = ["rule_test_test.sh"], data = [":test-deps"], shard_count = 2, + tags = ["no_windows"], ) sh_test( @@ -528,6 +589,7 @@ sh_test( srcs = ["toolchain_test.sh"], data = [":test-deps"], shard_count = 5, + tags = ["no_windows"], ) sh_test( @@ -536,6 +598,7 @@ sh_test( srcs = ["java_launcher_test.sh"], args = ["$(JAVABASE)"], data = [":test-deps"], + tags = ["no_windows"], toolchains = ["@bazel_tools//tools/jdk:current_java_runtime"], ) @@ -561,12 +624,19 @@ test_suite( visibility = ["//visibility:public"], ) +test_suite( + name = "windows_tests", + tags = [ + "-no_windows", + "-slow", + ], + visibility = ["//visibility:private"], +) + test_suite( name = "all_windows_tests", tests = [ - ":bazel_bootstrap_distfile_test", - ":bazel_windows_example_test", - ":help_test", + ":windows_tests", ], visibility = ["//src/test/shell:__pkg__"], ) diff --git a/src/test/shell/integration/BUILD b/src/test/shell/integration/BUILD index 5f5347924272d4..822a5c67a2a75d 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__"], +)