[Lldb-commits] [lldb] [lldb][test] Make TestInterruptThreadNames not depend on debug info (PR #201553)

via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 4 04:30:45 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Raphael Isemann (Teemperor)

<details>
<summary>Changes</summary>

This test only reads the pthread names, which don't depend on any debug info.

This halves the runtime of this very long test from 22s to 11s.

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


1 Files Affected:

- (modified) lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py (+2) 


``````````diff
diff --git a/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py b/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py
index 9a3339579de03..9b99aae8214ae 100644
--- a/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py
+++ b/lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py
@@ -9,6 +9,8 @@
 
 
 class TestInterruptThreadNames(TestBase):
+    NO_DEBUG_INFO_TESTCASE = True
+
     @skipUnlessDarwin
     @add_test_categories(["pyapi"])
     def test_with_python_api(self):

``````````

</details>


https://github.com/llvm/llvm-project/pull/201553


More information about the lldb-commits mailing list