@@ -228,41 +228,44 @@ delegate is referenced in the single-target `watchos_application`'s `deps`.
228228 ],
229229 )
230230
231- # Test that the output application binary is identified as watchOS simulator via the Mach-O
232- # load command LC_BUILD_VERSION for the arm64 binary slice when only iOS cpus are defined, and
233- # that 32-bit archs are eliminated.
234- binary_contents_test (
235- name = "{}_simulator_ios_cpus_intel_platform_test" .format (name ),
236- build_type = "simulator" ,
237- target_under_test = "//test/starlark_tests/targets_under_test/watchos:app_companion_arm64_support" ,
238- cpus = {
239- "ios_multi_cpus" : ["x86_64" , "sim_arm64" ],
240- "watchos_cpus" : ["" ],
241- },
242- binary_test_file = "$BUNDLE_ROOT/Watch/app_arm64_support.app/app_arm64_support" ,
243- binary_test_architecture = "x86_64" ,
244- binary_not_contains_architectures = ["i386" , "arm64e" ],
245- macho_load_commands_contain = ["cmd LC_BUILD_VERSION" , "platform WATCHOSSIMULATOR" ],
246- tags = [name ],
247- )
231+ # TODO: b/440323872 - Re-enable these tests when the logic to derive watchOS platforms from
232+ # multiple iOS platforms is resolved.
233+ #
234+ # # Test that the output application binary is identified as watchOS simulator via the Mach-O
235+ # # load command LC_BUILD_VERSION for the arm64 binary slice when only iOS cpus are defined, and
236+ # # that 32-bit archs are eliminated.
237+ # binary_contents_test(
238+ # name = "{}_simulator_ios_cpus_intel_platform_test".format(name),
239+ # build_type = "simulator",
240+ # target_under_test = "//test/starlark_tests/targets_under_test/watchos:app_companion_arm64_support",
241+ # cpus = {
242+ # "ios_multi_cpus": ["x86_64", "sim_arm64"],
243+ # "watchos_cpus": [""],
244+ # },
245+ # binary_test_file = "$BUNDLE_ROOT/Watch/app_arm64_support.app/app_arm64_support",
246+ # binary_test_architecture = "x86_64",
247+ # binary_not_contains_architectures = ["i386", "arm64e"],
248+ # macho_load_commands_contain = ["cmd LC_BUILD_VERSION", "platform WATCHOSSIMULATOR"],
249+ # tags = [name],
250+ # )
248251
249- # Test that the output application binary is identified as watchOS simulator via the Mach-O
250- # load command LC_BUILD_VERSION for the arm64 binary slice when only iOS cpus are defined, and
251- # that 32-bit archs are eliminated.
252- binary_contents_test (
253- name = "{}_simulator_ios_cpus_arm_platform_test" .format (name ),
254- build_type = "simulator" ,
255- target_under_test = "//test/starlark_tests/targets_under_test/watchos:app_companion_arm64_support" ,
256- cpus = {
257- "ios_multi_cpus" : ["x86_64" , "sim_arm64" ],
258- "watchos_cpus" : ["" ],
259- },
260- binary_test_file = "$BUNDLE_ROOT/Watch/app_arm64_support.app/app_arm64_support" ,
261- binary_test_architecture = "arm64" ,
262- binary_not_contains_architectures = ["i386" , "arm64e" ],
263- macho_load_commands_contain = ["cmd LC_BUILD_VERSION" , "platform WATCHOSSIMULATOR" ],
264- tags = [name ],
265- )
252+ # # Test that the output application binary is identified as watchOS simulator via the Mach-O
253+ # # load command LC_BUILD_VERSION for the arm64 binary slice when only iOS cpus are defined, and
254+ # # that 32-bit archs are eliminated.
255+ # binary_contents_test(
256+ # name = "{}_simulator_ios_cpus_arm_platform_test".format(name),
257+ # build_type = "simulator",
258+ # target_under_test = "//test/starlark_tests/targets_under_test/watchos:app_companion_arm64_support",
259+ # cpus = {
260+ # "ios_multi_cpus": ["x86_64", "sim_arm64"],
261+ # "watchos_cpus": [""],
262+ # },
263+ # binary_test_file = "$BUNDLE_ROOT/Watch/app_arm64_support.app/app_arm64_support",
264+ # binary_test_architecture = "arm64",
265+ # binary_not_contains_architectures = ["i386", "arm64e"],
266+ # macho_load_commands_contain = ["cmd LC_BUILD_VERSION", "platform WATCHOSSIMULATOR"],
267+ # tags = [name],
268+ # )
266269
267270 # Test that the output application binary is identified as watchOS device via the Mach-O
268271 # load command LC_BUILD_VERSION for the arm64 binary slice when only iOS cpus are defined, and
0 commit comments