[Lldb-commits] [lldb] 15c8a76 - Skip tests with earlier versions of clang

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 18 09:55:48 PDT 2023


Author: Adrian Prantl
Date: 2023-09-18T09:55:33-07:00
New Revision: 15c8a7628320f928d44317e3b3b706a4f57aa58d

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

LOG: Skip tests with earlier versions of clang

Added: 
    

Modified: 
    lldb/test/API/functionalities/archives/TestBSDArchives.py
    lldb/test/API/tools/lldb-vscode/completions/TestVSCode_completions.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/archives/TestBSDArchives.py b/lldb/test/API/functionalities/archives/TestBSDArchives.py
index b0609ac7410bd8c..570fd2ed8c0e608 100644
--- a/lldb/test/API/functionalities/archives/TestBSDArchives.py
+++ b/lldb/test/API/functionalities/archives/TestBSDArchives.py
@@ -123,6 +123,7 @@ def test_frame_var_errors_when_archive_missing(self):
         self.check_frame_variable_errors(thread, error_strings)
 
     @skipIfRemote
+    @skipIf(compiler="clang", compiler_version=["<", "12.0"])
     @expectedFailureAll(
         oslist=["windows"],
         bugnumber="llvm.org/pr24527.  Makefile.rules doesn't know how to build static libs on Windows",

diff  --git a/lldb/test/API/tools/lldb-vscode/completions/TestVSCode_completions.py b/lldb/test/API/tools/lldb-vscode/completions/TestVSCode_completions.py
index 1cec2aad3b7e1f2..1b44c3c99361e3f 100644
--- a/lldb/test/API/tools/lldb-vscode/completions/TestVSCode_completions.py
+++ b/lldb/test/API/tools/lldb-vscode/completions/TestVSCode_completions.py
@@ -19,6 +19,7 @@ def verify_completions(self, actual_list, expected_list, not_expected_list=[]):
             self.assertNotIn(not_expected_item, actual_list)
 
     @skipIfWindows
+    @skipIf(compiler="clang", compiler_version=["<", "17.0"])
     def test_completions(self):
         """
         Tests the completion request at 
diff erent breakpoints


        


More information about the lldb-commits mailing list