[Lldb-commits] [lldb] d6a1501 - [lldb] Skip TestDAP_completions on older versions of libcxx

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 1 08:56:12 PDT 2024


Author: Felipe de Azevedo Piovezan
Date: 2024-11-01T08:55:23-07:00
New Revision: d6a150137773bd1d104aa5a1847863a5138f14d9

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

LOG: [lldb] Skip TestDAP_completions on older versions of libcxx

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-dap/completions/TestDAP_completions.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-dap/completions/TestDAP_completions.py b/lldb/test/API/tools/lldb-dap/completions/TestDAP_completions.py
index 8ad12b3fc2f6b1..210e591bff426f 100644
--- a/lldb/test/API/tools/lldb-dap/completions/TestDAP_completions.py
+++ b/lldb/test/API/tools/lldb-dap/completions/TestDAP_completions.py
@@ -32,6 +32,9 @@
 variable_var1_completion = {"text": "var1", "label": "var1 -- int &"}
 variable_var2_completion = {"text": "var2", "label": "var2 -- int &"}
 
+# Older version of libcxx produce slightly 
diff erent typename strings for
+# templates like vector.
+ at skipIf(compiler="clang", compiler_version=["<", "16.0"])
 class TestDAP_completions(lldbdap_testcase.DAPTestCaseBase):
     def verify_completions(self, actual_list, expected_list, not_expected_list=[]):
         for expected_item in expected_list:


        


More information about the lldb-commits mailing list