[lldb] Improve error reporting from TestAppleSimulatorOSType.py

When we can't find a simulator, report the platform and architecture in
the error message.
This commit is contained in:
Jonas Devlieghere 2022-06-08 11:47:03 -07:00
parent 4bf9cbc408
commit 4636b93044
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class TestAppleSimulatorOSType(gdbremote_testcase.GdbRemoteTestCaseBase):
break
# Launch the process using simctl
self.assertIsNotNone(deviceUDID)
self.assertIsNotNone(deviceUDID, 'Could not find a simulator for {} ({})'.format(platform_name, arch))
exe_name = 'test_simulator_platform_{}'.format(platform_name)
sdkroot = lldbutil.get_xcode_sdk_root(sdk)