llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Pavel Labath (labath)

<details>
<summary>Changes</summary>

In async mode, the test terminates sooner that it should 
(`run_to_source_breakpoint` does not work in this mode), and then the test 
crashes due to #<!-- -->98038. Most of the time, the test does not fail because 
its already XFAILed, but the crash still registers as a failure.

---
Full diff: https://github.com/llvm/llvm-project/pull/98041.diff


1 Files Affected:

- (modified) 
lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py (+1) 


``````````diff
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 0942dcd655b75..ccefc28946e06 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 @@ def do_test(self, one_target, one_debugger):
         else:
             if one_target:
                 new_debugger = lldb.SBDebugger().Create()
+                new_debugger.SetAsync(False)
                 self.old_debugger = self.dbg
                 self.dbg = new_debugger
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/98041
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to