[Lldb-commits] [lldb] [lldb] Skip 2 newly introduced tests from running on DWARF2 and clang 11 (PR #75406)

Augusto Noronha via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 13 15:55:45 PST 2023


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

None

>From 2cb9a284a924442c2f9ab8d639268b8154af22a6 Mon Sep 17 00:00:00 2001
From: Augusto Noronha <augusto2112 at me.com>
Date: Wed, 13 Dec 2023 15:53:37 -0800
Subject: [PATCH] [lldb] Skip 2 newly introduced tests from running on DWARF2
 and clang 11

---
 .../data-formatter/builtin-formats/TestBuiltinFormats.py       | 1 +
 .../location-list-lookup/TestLocationListLookup.py             | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py b/lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py
index 4e0f14d039a743..8c3bdabeaac1ba 100644
--- a/lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py
+++ b/lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py
@@ -19,6 +19,7 @@ def getFormatted(self, format, expr):
         self.assertTrue(result.Succeeded(), result.GetError())
         return result.GetOutput()
 
+    @skipIf(dwarf_version=["<", "3"])
     @no_debug_info_test
     @skipIfWindows
     def testAllPlatforms(self):
diff --git a/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py b/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py
index feea14ff355e82..c5f4a7c6dedc19 100644
--- a/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py
+++ b/lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py
@@ -43,7 +43,8 @@ def test_loclist_frame_var(self):
         self.build()
         self.check_local_vars(self.launch(), check_expr=False)
 
-    @skipIf(compiler="clang", compiler_version=["<=", "11.0"])
+    @skipIf(dwarf_version=["<", "3"])
+    @skipIf(compiler="clang", compiler_version=["<", "12.0"])
     @skipUnlessDarwin
     def test_loclist_expr(self):
         self.build()



More information about the lldb-commits mailing list