Skip to content

Commit 61dc038

Browse files
committed
[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
1 parent 8607b93 commit 61dc038

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ def cleanup():
3939
r"lldb::SBDebugger::GetScriptingLanguage\(const char \*\) \(0x([0-9a-fA-F]+),",
4040
log)[0]
4141

42-
get_scripting_language = 'lldb::ScriptLanguage lldb::SBDebugger::GetScriptingLanguage(const char *) (0x{}, "")'.format(
42+
get_scripting_language = 'lldb::SBDebugger::GetScriptingLanguage(const char *) (0x{}, "")'.format(
4343
debugger_addr)
44-
create_target = 'lldb::SBTarget lldb::SBDebugger::CreateTarget(const char *) (0x{}, "")'.format(
44+
create_target = 'lldb::SBDebugger::CreateTarget(const char *) (0x{}, "")'.format(
4545
debugger_addr)
4646

4747
self.assertTrue(get_scripting_language in log, log)

0 commit comments

Comments
 (0)