[Lldb-commits] [PATCH] D142513: [lldb][test] Set minimum compiler_versions
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 24 15:54:37 PST 2023
kastiglione created this revision.
kastiglione added reviewers: aprantl, JDevlieghere.
Herald added a project: All.
kastiglione requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Set compiler_versions on these tests, as they fail if tested on lower compiler versions versions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142513
Files:
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
Index: lldb/test/API/lang/objc/objc_direct-methods/TestObjCDirectMethods.py
===================================================================
--- lldb/test/API/lang/objc/objc_direct-methods/TestObjCDirectMethods.py
+++ 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)
Index: lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/ranges/ref_view/TestDataFormatterLibcxxRangesRefView.py
===================================================================
--- lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/ranges/ref_view/TestDataFormatterLibcxxRangesRefView.py
+++ lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/ranges/ref_view/TestDataFormatterLibcxxRangesRefView.py
@@ -28,7 +28,8 @@
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.
"""
Index: lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py
===================================================================
--- lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py
+++ lldb/test/API/commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py
@@ -12,6 +12,7 @@
@add_test_categories(["libc++"])
@skipIf(compiler=no_match("clang"))
+ @skipIf(compiler="clang", compiler_version=['<', '12.0'])
def test(self):
self.build()
Index: lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py
===================================================================
--- lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py
+++ lldb/test/API/commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py
@@ -12,6 +12,7 @@
@add_test_categories(["libc++"])
@skipIf(compiler=no_match("clang"))
+ @skipIf(compiler="clang", compiler_version=['<', '12.0'])
def test(self):
self.build()
Index: lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py
===================================================================
--- lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py
+++ lldb/test/API/commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py
@@ -11,6 +11,7 @@
@add_test_categories(["libc++"])
@skipIf(compiler=no_match("clang"))
+ @skipIf(compiler="clang", compiler_version=['<', '12.0'])
def test(self):
self.build()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142513.491944.patch
Type: text/x-patch
Size: 3401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230124/bb2731ae/attachment-0001.bin>
More information about the lldb-commits
mailing list