summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-09-13 21:15:03 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-09-13 21:15:03 +0000
commita3e27633a839cf1c45b640f88e00530c59f10e8d (patch)
tree078dd7077235aef3214ebda4b7f081fd9e94671e /lldb/packages/Python/lldbsuite
parentfe4dc2e7132492a970ac60d725dea686ffe5f779 (diff)
downloadbcm5719-llvm-a3e27633a839cf1c45b640f88e00530c59f10e8d.tar.gz
bcm5719-llvm-a3e27633a839cf1c45b640f88e00530c59f10e8d.zip
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py4
1 files 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 450d62029d4..68384f39880 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)
OpenPOWER on IntegriCloud