diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 2b83d26d234a..602749c80fa8 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -2364,7 +2364,8 @@ FileCheck output: break self.assertTrue(matched if matching else not matched, - msg if msg else EXP_MSG(str, output, exe)) + msg + "\nCommand output:\n" + EXP_MSG(str, output, exe) + if msg else EXP_MSG(str, output, exe)) def expect_expr( self,