From 58e750bfd621ac7ef8647eb1170b254e05ffc10d Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 9 Jul 2024 09:59:49 +0200 Subject: [lldb] Put the new debugger in synchronous mode in TestGlobalModuleCache (#98041) In async mode, the test terminates sooner than it should (`run_to_source_breakpoint` does not work in this mode), and then the test crashes due to #76057. Most of the time, the test does not fail because its already XFAILed, but the crash still registers as a failure. --- lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py') diff --git a/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py b/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py index 0942dcd655b7..ccefc28946e0 100644 --- a/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py +++ b/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py @@ -111,6 +111,7 @@ class GlobalModuleCacheTestCase(TestBase): else: if one_target: new_debugger = lldb.SBDebugger().Create() + new_debugger.SetAsync(False) self.old_debugger = self.dbg self.dbg = new_debugger -- cgit v1.2.3