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

via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 13 16:30:42 PST 2023


Author: Augusto Noronha
Date: 2023-12-13T16:30:39-08:00
New Revision: b047c9116432375586ddf7f01bf272f99d9a005c

URL: https://github.com/llvm/llvm-project/commit/b047c9116432375586ddf7f01bf272f99d9a005c
DIFF: https://github.com/llvm/llvm-project/commit/b047c9116432375586ddf7f01bf272f99d9a005c.diff

LOG: [lldb] Skip 2 newly introduced tests from running on DWARF2 and clang 11 (#75406)

Added: 
    

Modified: 
    lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py
    lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py

Removed: 
    


################################################################################
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