Skip to content

Commit 37fe152

Browse files
authored
Revert "Revert "[lldb/test] Mark TestStepScripted.py as XFAIL temporarily (#96894)"" (#96946)
Reverts #96942 since the test failures are still happening: https://lab.llvm.org/buildbot/#/builders/162/builds/899/
1 parent aae8e5c commit 37fe152

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ 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
9695

9796

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

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

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

10-
1110
class StepScriptedTestCase(TestBase):
1211
NO_DEBUG_INFO_TESTCASE = True
1312

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

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()
2526
def test_scripted_step_out(self):
2627
"""Tests stepping with the scripted thread plan laying over an another
2728
scripted thread plan for stepping out."""
@@ -62,10 +63,12 @@ def test_misspelled_plan_name(self):
6263
# Make sure we didn't let the process run:
6364
self.assertEqual(stop_id, process.GetStopID(), "Process didn't run")
6465

66+
@expectedFailureAll()
6567
def test_checking_variable(self):
6668
"""Test that we can call SBValue API's from a scripted thread plan - using SBAPI's to step"""
6769
self.do_test_checking_variable(False)
6870

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

0 commit comments

Comments
 (0)