[Lldb-commits] [lldb] [lldb] Disable new TestLocationListLookup when clang version is <= 11 (PR #75102)

via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 11 13:31:32 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Augusto Noronha (augusto2112)

<details>
<summary>Changes</summary>

The newly introduced LocationListLookupTestCase.test_loclist_expr test fails with older clangs.

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


1 Files Affected:

- (modified) lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py (+1) 


``````````diff
diff --git a/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py b/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py
index ccee3bfde3f5d..aeb32fcea4c06 100644
--- a/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py
+++ b/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py
@@ -43,6 +43,7 @@ def test_loclist_frame_var(self):
         self.build()
         self.check_local_vars(self.launch(), check_expr=False)
 
+    @skipIf(compiler="clang", compiler_version=['<=', '11.0'])
     @skipUnlessDarwin
     def test_loclist_expr(self):
         self.build()

``````````

</details>


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


More information about the lldb-commits mailing list