diff options
author | Med Ismail Bennani <ismail@bennani.ma> | 2024-06-27 11:34:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-27 11:34:47 -0700 |
commit | 37fe152e0c9f47b0a9ef9663df1ddecffef6f338 (patch) | |
tree | 50416c7aa79cfc7167abb91fa9add856e4f4e41e | |
parent | aae8e5cb74634d1690168975c2dd3e053b3ad35c (diff) | |
download | llvm-37fe152e0c9f47b0a9ef9663df1ddecffef6f338.zip llvm-37fe152e0c9f47b0a9ef9663df1ddecffef6f338.tar.gz llvm-37fe152e0c9f47b0a9ef9663df1ddecffef6f338.tar.bz2 |
Revert "Revert "[lldb/test] Mark TestStepScripted.py as XFAIL temporarily (#96894)"" (#96946)
Reverts llvm/llvm-project#96942 since the test failures are still
happening:
https://lab.llvm.org/buildbot/#/builders/162/builds/899/
-rw-r--r-- | lldb/test/API/functionalities/step_scripted/Steps.py | 1 | ||||
-rw-r--r-- | lldb/test/API/functionalities/step_scripted/TestStepScripted.py | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lldb/test/API/functionalities/step_scripted/Steps.py b/lldb/test/API/functionalities/step_scripted/Steps.py index b121f71..3325dba 100644 --- a/lldb/test/API/functionalities/step_scripted/Steps.py +++ b/lldb/test/API/functionalities/step_scripted/Steps.py @@ -92,7 +92,6 @@ class StepUntil(StepWithChild): def stop_description(self, stream): stream.Print(f"Stepped until {self.var_name} changed.") - return True # This plan does nothing, but sets stop_mode to the diff --git a/lldb/test/API/functionalities/step_scripted/TestStepScripted.py b/lldb/test/API/functionalities/step_scripted/TestStepScripted.py index 5390171..bb74794 100644 --- a/lldb/test/API/functionalities/step_scripted/TestStepScripted.py +++ b/lldb/test/API/functionalities/step_scripted/TestStepScripted.py @@ -7,7 +7,6 @@ import lldbsuite.test.lldbutil as lldbutil from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * - class StepScriptedTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True @@ -16,12 +15,14 @@ class StepScriptedTestCase(TestBase): self.main_source_file = lldb.SBFileSpec("main.c") self.runCmd("command script import Steps.py") + @expectedFailureAll() def test_standard_step_out(self): """Tests stepping with the scripted thread plan laying over a standard thread plan for stepping out.""" self.build() self.step_out_with_scripted_plan("Steps.StepOut") + @expectedFailureAll() def test_scripted_step_out(self): """Tests stepping with the scripted thread plan laying over an another scripted thread plan for stepping out.""" @@ -62,10 +63,12 @@ class StepScriptedTestCase(TestBase): # Make sure we didn't let the process run: self.assertEqual(stop_id, process.GetStopID(), "Process didn't run") + @expectedFailureAll() def test_checking_variable(self): """Test that we can call SBValue API's from a scripted thread plan - using SBAPI's to step""" self.do_test_checking_variable(False) + @expectedFailureAll() def test_checking_variable_cli(self): """Test that we can call SBValue API's from a scripted thread plan - using cli to step""" self.do_test_checking_variable(True) |