Skip to content

Commit 5b71b7b

Browse files
committed
fix two visionos mach-o tests
1 parent 7a2f83a commit 5b71b7b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/starlark_tests/apple_static_library_tests.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def apple_static_library_test_suite(name):
339339
tags = [name],
340340
)
341341

342-
# Test that the output binary is identified as visionOS simulator (PLATFORM_XROSSIMULATOR) via
342+
# Test that the output binary is identified as visionOS simulator (PLATFORM_VISIONOSSIMULATOR) via
343343
# the Mach-O load command LC_BUILD_VERSION for an arm64 binary.
344344
binary_contents_test(
345345
name = "{}_visionos_binary_contents_arm_simulator_platform_test".format(name),
@@ -350,7 +350,7 @@ def apple_static_library_test_suite(name):
350350
},
351351
binary_test_file = "$BINARY",
352352
binary_test_architecture = "arm64",
353-
macho_load_commands_contain = ["cmd LC_BUILD_VERSION", "minos " + common.min_os_visionos.baseline, "platform XROSSIMULATOR"],
353+
macho_load_commands_contain = ["cmd LC_BUILD_VERSION", "minos " + common.min_os_visionos.baseline, "platform VISIONOSSIMULATOR"],
354354
tags = [
355355
name,
356356
],

test/starlark_tests/visionos_application_tests.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def visionos_application_test_suite(name):
103103
},
104104
binary_test_file = "$BINARY",
105105
binary_test_architecture = "arm64",
106-
macho_load_commands_contain = ["cmd LC_BUILD_VERSION", "minos " + common.min_os_visionos.baseline, "platform XROSSIMULATOR"],
106+
macho_load_commands_contain = ["cmd LC_BUILD_VERSION", "minos " + common.min_os_visionos.baseline, "platform VISIONOSSIMULATOR"],
107107
tags = [
108108
name,
109109
],

0 commit comments

Comments
 (0)