Author: Dave Lee Date: 2023-01-27T14:29:45-08:00 New Revision: 47f0384bb96964e1416a52fc03b184a37fe05588
URL: https://github.com/llvm/llvm-project/commit/47f0384bb96964e1416a52fc03b184a37fe05588 DIFF: https://github.com/llvm/llvm-project/commit/47f0384bb96964e1416a52fc03b184a37fe05588.diff LOG: [lldb][test] Set minimum compiler_versions Set compiler_versions on these tests, as they fail if tested on lower compiler versions versions. Differential Revision: https://reviews.llvm.org/D142513 Added: Modified: lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/ranges/ref_view/TestDataFormatterLibcxxRangesRefView.py lldb/test/API/lang/objc/objc_direct-methods/TestObjCDirectMethods.py Removed: ################################################################################ diff --git a/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py index d375e06c7964c..cf2f63d6b669b 100644 --- a/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py @@ -11,6 +11,7 @@ class TestDbgInfoContentDeque(TestBase): @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) + @skipIf(compiler="clang", compiler_version=['<', '12.0']) def test(self): self.build() diff --git a/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py index 32b838c9e63c8..0c6d62a4267f9 100644 --- a/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py @@ -12,6 +12,7 @@ class TestDbgInfoContentList(TestBase): @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) + @skipIf(compiler="clang", compiler_version=['<', '12.0']) def test(self): self.build() diff --git a/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py b/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py index 7da615c3084d5..c4cfedb5e597d 100644 --- a/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py +++ b/lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py @@ -12,6 +12,7 @@ class TestDbgInfoContentVector(TestBase): @add_test_categories(["libc++"]) @skipIf(compiler=no_match("clang")) + @skipIf(compiler="clang", compiler_version=['<', '12.0']) def test(self): self.build() 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 1fc8026babb9b..ff897b2ca875b 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,7 +28,8 @@ def check_foo(self): children=self.check_string_vec_children()) @add_test_categories(["libc++"]) - @skipIf(compiler=no_match("clang"), compiler_version=['<', '16.0']) + @skipIf(compiler=no_match("clang")) + @skipIf(compiler="clang", compiler_version=['<', '16.0']) def test_with_run_command(self): """Test that std::ranges::ref_view is formatted correctly when printed. """ diff --git a/lldb/test/API/lang/objc/objc_direct-methods/TestObjCDirectMethods.py b/lldb/test/API/lang/objc/objc_direct-methods/TestObjCDirectMethods.py index ed89377d9b7ac..c7e83becba66c 100644 --- a/lldb/test/API/lang/objc/objc_direct-methods/TestObjCDirectMethods.py +++ b/lldb/test/API/lang/objc/objc_direct-methods/TestObjCDirectMethods.py @@ -1,6 +1,6 @@ from lldbsuite.test import lldbinline from lldbsuite.test import decorators -decor = [decorators.skipIf(compiler="clang", compiler_version=['<', '13.0'])] +decor = [decorators.skipIf(compiler="clang", compiler_version=['<', '16.0'])] lldbinline.MakeInlineTest( __file__, globals(), decor) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits