Author: Jonas Devlieghere Date: 2022-04-08T15:02:26-07:00 New Revision: de2ddc8f3146bd87152ea86b533541039541efe1
URL: https://github.com/llvm/llvm-project/commit/de2ddc8f3146bd87152ea86b533541039541efe1 DIFF: https://github.com/llvm/llvm-project/commit/de2ddc8f3146bd87152ea86b533541039541efe1.diff LOG: [lldb] XFAIL tests that aren't passing remotely XFAIL a series of tests that are failing remotely. Added: Modified: lldb/test/API/assert_messages_test/TestAssertMessages.py lldb/test/API/functionalities/archives/TestBSDArchives.py lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCKVO.py lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py Removed: ################################################################################ diff --git a/lldb/test/API/assert_messages_test/TestAssertMessages.py b/lldb/test/API/assert_messages_test/TestAssertMessages.py index 93b4087aab2a4..7127311ac5b5e 100644 --- a/lldb/test/API/assert_messages_test/TestAssertMessages.py +++ b/lldb/test/API/assert_messages_test/TestAssertMessages.py @@ -6,6 +6,7 @@ import lldb import lldbsuite.test.lldbutil as lldbutil from lldbsuite.test.lldbtest import * +from lldbsuite.test.decorators import * from textwrap import dedent @@ -24,6 +25,7 @@ def assert_expect_fails_with(self, cmd, expect_args, expected_msg): else: self.fail("Initial expect should have raised AssertionError!") + @expectedFailureAll(remote=True) def test_createTestTarget(self): try: self.createTestTarget("doesnt_exist") diff --git a/lldb/test/API/functionalities/archives/TestBSDArchives.py b/lldb/test/API/functionalities/archives/TestBSDArchives.py index 500c1763b6908..bb4b469cf436a 100644 --- a/lldb/test/API/functionalities/archives/TestBSDArchives.py +++ b/lldb/test/API/functionalities/archives/TestBSDArchives.py @@ -24,6 +24,7 @@ def setUp(self): @expectedFailureAll( oslist=["windows"], bugnumber="llvm.org/pr24527. Makefile.rules doesn't know how to build static libs on Windows") + @expectedFailureAll(remote=True) def test(self): """Break inside a() and b() defined within libfoo.a.""" self.build() diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCKVO.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCKVO.py index 7b3572ab78aba..fe4e3ed0e1eca 100644 --- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCKVO.py +++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCKVO.py @@ -14,6 +14,7 @@ class ObjCDataFormatterKVO(ObjCDataFormatterTestCase): + @expectedFailureAll(remote=True) def test_kvo_with_run_command(self): """Test the behavior of formatters when KVO is in use.""" self.build() diff --git a/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py b/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py index 25aef29a94e67..4c2c9fae0d16f 100644 --- a/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py +++ b/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py @@ -21,6 +21,7 @@ def setUp(self): self.main_source = lldb.SBFileSpec("stepping-tests.m") @add_test_categories(['pyapi', 'basic_process']) + @expectedFailureAll(remote=True) def test_with_python_api(self): """Test stepping through the 'direct dispatch' optimized method calls.""" self.build() diff --git a/lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py b/lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py index 702a30bf43af6..3410cc6bedd1b 100644 --- a/lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py +++ b/lldb/test/API/lang/objc/objc-optimized/TestObjcOptimized.py @@ -26,6 +26,7 @@ class ObjcOptimizedTestCase(TestBase): mymethod = "description" method_spec = "-[%s %s]" % (myclass, mymethod) + @expectedFailureAll(remote=True) def test_break(self): """Test 'expr member' continues to work for optimized build.""" self.build() diff --git a/lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py b/lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py index b77a13ff38218..c974e4d7b4c66 100644 --- a/lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py +++ b/lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py @@ -30,6 +30,7 @@ def setUp(self): self.main_source, '// Step over nil should stop here.') @add_test_categories(['pyapi', 'basic_process']) + @expectedFailureAll(remote=True) def test_with_python_api(self): """Test stepping through ObjC method dispatch in various forms.""" self.build() _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits