Author: Raphael Isemann Date: 2021-06-25T11:33:09+02:00 New Revision: 487ac0b3eef22ba8f1707779d363ec7f49cc7702
URL: https://github.com/llvm/llvm-project/commit/487ac0b3eef22ba8f1707779d363ec7f49cc7702 DIFF: https://github.com/llvm/llvm-project/commit/487ac0b3eef22ba8f1707779d363ec7f49cc7702.diff LOG: [lldb] Skip tests failing with GCC due to LLDB not being able to call constructors Tracked in llvm.org/pr50814 These tests fail with all GCC versions I tested (8.5, 9.4, 10.3, 11.1). Added: Modified: lldb/test/API/commands/expression/deleting-implicit-copy-constructor/TestDeletingImplicitCopyConstructor.py lldb/test/API/lang/cpp/constructors/TestCppConstructors.py lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py lldb/test/API/lang/cpp/operators/TestCppOperators.py Removed: ################################################################################ diff --git a/lldb/test/API/commands/expression/deleting-implicit-copy-constructor/TestDeletingImplicitCopyConstructor.py b/lldb/test/API/commands/expression/deleting-implicit-copy-constructor/TestDeletingImplicitCopyConstructor.py index c8308c16011e0..e14f160f1e576 100644 --- a/lldb/test/API/commands/expression/deleting-implicit-copy-constructor/TestDeletingImplicitCopyConstructor.py +++ b/lldb/test/API/commands/expression/deleting-implicit-copy-constructor/TestDeletingImplicitCopyConstructor.py @@ -1,4 +1,5 @@ from lldbsuite.test import lldbinline from lldbsuite.test import decorators -lldbinline.MakeInlineTest(__file__, globals()) +lldbinline.MakeInlineTest(__file__, globals(), + [decorators.expectedFailureAll(bugnumber="llvm.org/pr50814", compiler="gcc")]) diff --git a/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py b/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py index 3e368d7125a9a..611af25dc239e 100644 --- a/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py +++ b/lldb/test/API/lang/cpp/constructors/TestCppConstructors.py @@ -7,6 +7,7 @@ class TestCase(TestBase): mydir = TestBase.compute_mydir(__file__) + @expectedFailureAll(bugnumber="llvm.org/pr50814", compiler="gcc") def test_constructors(self): self.build() lldbutil.run_to_source_breakpoint(self,"// break here", lldb.SBFileSpec("main.cpp")) diff --git a/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py b/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py index 5dce40843cf5b..904f709157314 100644 --- a/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py +++ b/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py @@ -13,12 +13,10 @@ class NamespaceDefinitionsTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) + # See also llvm.org/pr28948 @expectedFailureAll( - bugnumber="llvm.org/pr28948", - compiler="gcc", - compiler_version=[ - "<", - "4.9"]) + bugnumber="llvm.org/pr50814", + compiler="gcc") @expectedFailureAll( bugnumber="llvm.org/pr28948", oslist=['linux'], compiler="gcc", archs=['arm','aarch64']) diff --git a/lldb/test/API/lang/cpp/operators/TestCppOperators.py b/lldb/test/API/lang/cpp/operators/TestCppOperators.py index c8308c16011e0..e14f160f1e576 100644 --- a/lldb/test/API/lang/cpp/operators/TestCppOperators.py +++ b/lldb/test/API/lang/cpp/operators/TestCppOperators.py @@ -1,4 +1,5 @@ from lldbsuite.test import lldbinline from lldbsuite.test import decorators -lldbinline.MakeInlineTest(__file__, globals()) +lldbinline.MakeInlineTest(__file__, globals(), + [decorators.expectedFailureAll(bugnumber="llvm.org/pr50814", compiler="gcc")]) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits