forked from OSchip/llvm-project
[lldb] Print the load command that wasn't found in TestSimulatorPlatform
Print which load command we were looking for when the sanity check fails: AssertionError: 0 != 1 : wrong number of load commands for LC_VERSION_MIN_MACOSX
This commit is contained in:
parent
ab401a8c8a
commit
9f5210aacf
|
@ -21,7 +21,10 @@ class TestSimulatorPlatformLaunching(TestBase):
|
|||
for line in load_cmds.split('\n'):
|
||||
if expected_load_command in line:
|
||||
found += 1
|
||||
self.assertEquals(found, 1, "wrong load command")
|
||||
self.assertEquals(
|
||||
found, 1, "wrong number of load commands for {}".format(
|
||||
expected_load_command))
|
||||
|
||||
|
||||
def check_debugserver(self, log, expected_platform, expected_version):
|
||||
"""scan the debugserver packet log"""
|
||||
|
|
Loading…
Reference in New Issue