From 61dc038f8de01ce765387fa06d8cd5d9276cf62f Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 13 Sep 2019 22:14:59 +0000 Subject: [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. llvm-svn: 371905 --- lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py') diff --git a/lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py b/lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py index 68384f39880..bc42c5e3985 100644 --- a/lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py +++ b/lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py @@ -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) -- cgit v1.2.3