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

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


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

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

>From 0ec0f8ddf505ad30f8684e9452ebc4524f50a4b4 Mon Sep 17 00:00:00 2001
From: Augusto Noronha <augusto2112 at me.com>
Date: Mon, 11 Dec 2023 13:29:25 -0800
Subject: [PATCH] [lldb] Disable new TestLocationListLookup when clang version
 is <= 11

The newly introduced LocationListLookupTestCase.test_loclist_expr test
fails with older clangs.
---
 .../location-list-lookup/TestLocationListLookup.py               | 1 +
 1 file changed, 1 insertion(+)

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()



More information about the lldb-commits mailing list