Skip to content

Commit 4636b93

Browse files
committed
[lldb] Improve error reporting from TestAppleSimulatorOSType.py
When we can't find a simulator, report the platform and architecture in the error message.
1 parent 4bf9cbc commit 4636b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def check_simulator_ostype(self, sdk, platform_name, arch=platform.machine()):
4949
break
5050

5151
# Launch the process using simctl
52-
self.assertIsNotNone(deviceUDID)
52+
self.assertIsNotNone(deviceUDID, 'Could not find a simulator for {} ({})'.format(platform_name, arch))
5353

5454
exe_name = 'test_simulator_platform_{}'.format(platform_name)
5555
sdkroot = lldbutil.get_xcode_sdk_root(sdk)

0 commit comments

Comments
 (0)