Skip to content

Commit

Permalink
[lldb] Re-enable fixed on-device tests
Browse files Browse the repository at this point in the history
These tests were fixed by 833882b.
  • Loading branch information
JDevlieghere committed Apr 12, 2022
1 parent 23ec578 commit a66ff23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ 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()
Expand All @@ -31,7 +30,7 @@ def test_with_python_api(self):
self.main_source)
stop_bkpt = target.BreakpointCreateBySourceRegex("// Stop Location [0-9]+", self.main_source)
self.assertEqual(stop_bkpt.GetNumLocations(), 15)

# Here we step through all the overridden methods of OverridesALot
# The last continue will get us to the call ot OverridesInit.
for idx in range(2,16):
Expand All @@ -45,6 +44,6 @@ def test_with_python_api(self):
thread.StepInto()
func_name = thread.GetFrameAtIndex(0).GetFunctionName()
self.assertEqual(func_name, "-[OverridesInit init]", "Stopped in [OverridesInit init]")





1 change: 0 additions & 1 deletion lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ 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()
Expand Down

0 comments on commit a66ff23

Please sign in to comment.