Author: jdevlieghere Date: Fri Sep 13 14:15:03 2019 New Revision: 371899 URL: http://llvm.org/viewvc/llvm-project?rev=371899&view=rev Log: [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. Modified: lldb/trunk/packages/Python/lldbsuite/test/api/log/TestAPILog.py Modified: lldb/trunk/packages/Python/lldbsuite/test/api/log/TestAPILog.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/api/log/TestAPILog.py?rev=371899&r1=371898&r2=371899&view=diff ============================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/api/log/TestAPILog.py (original) +++ lldb/trunk/packages/Python/lldbsuite/test/api/log/TestAPILog.py Fri Sep 13 14:15:03 2019 @@ -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) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits