[Lldb-commits] [lldb] r371905 - [test] Update TestAPILog to pass on Windows.
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 13 15:14:59 PDT 2019
Author: jdevlieghere
Date: Fri Sep 13 15:14:59 2019
New Revision: 371905
URL: http://llvm.org/viewvc/llvm-project?rev=371905&view=rev
Log:
[test] Update TestAPILog to pass on Windows.
The pretty function macro is including __cdecl on Windows, which was
causing the pattern matching to fail. This should fix that.
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=371905&r1=371904&r2=371905&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 15:14:59 2019
@@ -39,9 +39,9 @@ class APILogTestCase(TestBase):
r"lldb::SBDebugger::GetScriptingLanguage\(const char \*\) \(0x([0-9a-fA-F]+),",
log)[0]
- get_scripting_language = 'lldb::ScriptLanguage lldb::SBDebugger::GetScriptingLanguage(const char *) (0x{}, "")'.format(
+ get_scripting_language = 'lldb::SBDebugger::GetScriptingLanguage(const char *) (0x{}, "")'.format(
debugger_addr)
- create_target = 'lldb::SBTarget lldb::SBDebugger::CreateTarget(const char *) (0x{}, "")'.format(
+ create_target = 'lldb::SBDebugger::CreateTarget(const char *) (0x{}, "")'.format(
debugger_addr)
self.assertTrue(get_scripting_language in log, log)
More information about the lldb-commits
mailing list