Skip to content

Commit

Permalink
[lldb] Improve error reporting from TestAppleSimulatorOSType.py
Browse files Browse the repository at this point in the history
When we can't find a simulator, report the platform and architecture in
the error message.
  • Loading branch information
JDevlieghere committed Jun 8, 2022
1 parent 4bf9cbc commit 4636b93
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -49,7 +49,7 @@ def check_simulator_ostype(self, sdk, platform_name, arch=platform.machine()):
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)
Expand Down

0 comments on commit 4636b93

Please sign in to comment.