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.
         """


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to