[lldb] Print the command output when 'expect' fails even if a custom msg is passed
authorRaphael Isemann <teemperor@gmail.com>
Fri, 31 Jan 2020 09:12:06 +0000 (10:12 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Fri, 31 Jan 2020 09:16:46 +0000 (10:16 +0100)
commit99e63f5825ac30912bab1daa563cae9e6c292d52
treea41471a2b0ab2cf917a081af1a349a6590b4d7fb
parent85314e9b7a785e19aa63e17d96436ab35137f995
[lldb] Print the command output when 'expect' fails even if a custom msg is passed

Currently if 'expect' fails and a custom msg is supplied, then lldbtest
will not print the actual command output. This makes it impossible to know
why the test actually failed. This just prints the command output even
if the msg parameter was supplied.
lldb/packages/Python/lldbsuite/test/lldbtest.py