From 9b3ff691e9166b3f484874aeb113e793c9de6fdd Mon Sep 17 00:00:00 2001 From: Justin Cohen Date: Thu, 1 Aug 2024 14:15:35 -0400 Subject: [PATCH] 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 Reviewed-by: Mark Mentovai --- build/run_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/run_tests.py b/build/run_tests.py index 9079da40..45b3372d 100755 --- a/build/run_tests.py +++ b/build/run_tests.py @@ -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: