[Lldb-commits] [lldb] 9bfc8ba - [lldb][Test] TestDataFormatterLibcxxRangesRefView.py: skip on old compiler versions

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 3 05:12:57 PST 2023


Author: Michael Buch
Date: 2023-01-03T13:12:31Z
New Revision: 9bfc8ba7a70fd4b2f224bde5d8a405056a83954e

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

LOG: [lldb][Test] TestDataFormatterLibcxxRangesRefView.py: skip on old compiler versions

`std::ranges` are only available in libcxx shipped with Clang > 15.0

Added: 
    

Modified: 
    lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/ranges/ref_view/TestDataFormatterLibcxxRangesRefView.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/ranges/ref_view/TestDataFormatterLibcxxRangesRefView.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/ranges/ref_view/TestDataFormatterLibcxxRangesRefView.py
index 38b97604a6067..1fc8026babb9b 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/ranges/ref_view/TestDataFormatterLibcxxRangesRefView.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/ranges/ref_view/TestDataFormatterLibcxxRangesRefView.py
@@ -28,6 +28,7 @@ def check_foo(self):
                 children=self.check_string_vec_children())
 
     @add_test_categories(["libc++"])
+    @skipIf(compiler=no_match("clang"), compiler_version=['<', '16.0'])
     def test_with_run_command(self):
         """Test that std::ranges::ref_view is formatted correctly when printed.
         """


        


More information about the lldb-commits mailing list