mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 01:08:01 +08:00
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:
parent
d380daf704
commit
9b3ff691e9
@ -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')
|
target_app_path = os.path.join(test_path, test + '.app')
|
||||||
module_data = {
|
module_data = {
|
||||||
'IsUITestBundle': True,
|
'IsUITestBundle': True,
|
||||||
|
'SystemAttachmentLifetime': 'deleteOnSuccess',
|
||||||
'IsXCTRunnerHostedTestBundle': True,
|
'IsXCTRunnerHostedTestBundle': True,
|
||||||
'TestBundlePath': bundle_path,
|
'TestBundlePath': bundle_path,
|
||||||
'TestHostPath': runner_path,
|
'TestHostPath': runner_path,
|
||||||
@ -372,7 +373,7 @@ def _RunOnIOSTarget(binary_dir, test, is_xcuitest=False, gtest_filter=None):
|
|||||||
print(xctestrun_path)
|
print(xctestrun_path)
|
||||||
command = [
|
command = [
|
||||||
'xcodebuild', 'test-without-building', '-xctestrun', xctestrun_path,
|
'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:
|
with open(xctestrun_path, 'wb') as fp:
|
||||||
if is_xcuitest:
|
if is_xcuitest:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user