Skip to content

Commit fada922

Browse files
authored
[LLDB][SBSaveCoreOptions] Fix TestProcessSaveCore (#99692)
In #98403 some of the tests were transitioned to the new `SBProcess::SaveCore(SBSaveCoreOptions)` API, but were not detected in testing. This patch addresses that.
1 parent 56ffbd9 commit fada922

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/test/API/functionalities/process_save_core/TestProcessSaveCore.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ def test_cannot_save_core_unless_process_stopped(self):
2020
target = self.dbg.CreateTarget(exe)
2121
process = target.LaunchSimple(None, None, self.get_process_working_directory())
2222
self.assertNotEqual(process.GetState(), lldb.eStateStopped)
23-
options = SBSaveCoreOptions()
24-
options.SetOutputFile(SBFileSpec(core))
23+
options = lldb.SBSaveCoreOptions()
24+
options.SetOutputFile(lldb.SBFileSpec(core))
2525
error = process.SaveCore(core)
2626
self.assertTrue(error.Fail())
2727

0 commit comments

Comments
 (0)