Upgrade simulator tests to iPhone 15 running iOS 17.4

Bug: 356640476
Change-Id: Ic715b20d7e8263854b1301d1bc74152a3becb206
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5758238
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
Justin Cohen 2024-08-01 14:15:35 -04:00 committed by Crashpad LUCI CQ
parent d380daf704
commit 9b3ff691e9

View File

@ -347,6 +347,7 @@ def _RunOnIOSTarget(binary_dir, test, is_xcuitest=False, gtest_filter=None):
target_app_path = os.path.join(test_path, test + '.app')
module_data = {
'IsUITestBundle': True,
'SystemAttachmentLifetime': 'deleteOnSuccess',
'IsXCTRunnerHostedTestBundle': True,
'TestBundlePath': bundle_path,
'TestHostPath': runner_path,
@ -372,7 +373,7 @@ def _RunOnIOSTarget(binary_dir, test, is_xcuitest=False, gtest_filter=None):
print(xctestrun_path)
command = [
'xcodebuild', 'test-without-building', '-xctestrun', xctestrun_path,
'-destination', 'platform=iOS Simulator,OS=15.5,name=iPhone 13',
'-destination', 'platform=iOS Simulator,OS=17.4,name=iPhone 15',
]
with open(xctestrun_path, 'wb') as fp:
if is_xcuitest: