Skip to content

Commit b949b64

Browse files
authored
Revert "[lldb/test] Mark TestStepScripted.py as XFAIL temporarily (#96894)" (#96942)
This tentatively reverts commit 204c403 to remove the XFAIL from the tests while also trying to fix them at the same time. Signed-off-by: Med Ismail Bennani <[email protected]>
1 parent ea68668 commit b949b64

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lldb/test/API/functionalities/step_scripted/Steps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def should_stop(self, event):
9292

9393
def stop_description(self, stream):
9494
stream.Print(f"Stepped until {self.var_name} changed.")
95+
return True
9596

9697

9798
# This plan does nothing, but sets stop_mode to the

lldb/test/API/functionalities/step_scripted/TestStepScripted.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from lldbsuite.test.decorators import *
88
from lldbsuite.test.lldbtest import *
99

10+
1011
class StepScriptedTestCase(TestBase):
1112
NO_DEBUG_INFO_TESTCASE = True
1213

@@ -15,14 +16,12 @@ def setUp(self):
1516
self.main_source_file = lldb.SBFileSpec("main.c")
1617
self.runCmd("command script import Steps.py")
1718

18-
@expectedFailureAll()
1919
def test_standard_step_out(self):
2020
"""Tests stepping with the scripted thread plan laying over a standard
2121
thread plan for stepping out."""
2222
self.build()
2323
self.step_out_with_scripted_plan("Steps.StepOut")
2424

25-
@expectedFailureAll()
2625
def test_scripted_step_out(self):
2726
"""Tests stepping with the scripted thread plan laying over an another
2827
scripted thread plan for stepping out."""
@@ -63,12 +62,10 @@ def test_misspelled_plan_name(self):
6362
# Make sure we didn't let the process run:
6463
self.assertEqual(stop_id, process.GetStopID(), "Process didn't run")
6564

66-
@expectedFailureAll()
6765
def test_checking_variable(self):
6866
"""Test that we can call SBValue API's from a scripted thread plan - using SBAPI's to step"""
6967
self.do_test_checking_variable(False)
7068

71-
@expectedFailureAll()
7269
def test_checking_variable_cli(self):
7370
"""Test that we can call SBValue API's from a scripted thread plan - using cli to step"""
7471
self.do_test_checking_variable(True)

0 commit comments

Comments
 (0)