From a3e27633a839cf1c45b640f88e00530c59f10e8d Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 13 Sep 2019 21:15:03 +0000 Subject: [PATCH] [test] Print the log output on failure. This ensures that if the assertion fails we dump the log content. This should help me investigate what the output looks like on Windows, where the test is failing. llvm-svn: 371899 --- lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py b/lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py index 450d620..68384f3 100644 --- a/lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py +++ b/lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py @@ -44,5 +44,5 @@ class APILogTestCase(TestBase): create_target = 'lldb::SBTarget lldb::SBDebugger::CreateTarget(const char *) (0x{}, "")'.format( debugger_addr) - self.assertTrue(get_scripting_language in log) - self.assertTrue(create_target in log) + self.assertTrue(get_scripting_language in log, log) + self.assertTrue(create_target in log, log) -- 2.7.4