Skip to content

Commit 9d105b2

Browse files
committed
Drop mach-o test as testskinnycore already covers case
1 parent 66a4b09 commit 9d105b2

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -116,26 +116,3 @@ def test_save_core_default_values_for_style_minidump(self):
116116
self.assertSuccess(error, error.GetCString())
117117
self.assertTrue(os.path.isfile(minidump_path))
118118
self.assertTrue(self.validate_core_pid(pid, minidump_path))
119-
120-
@skipUnlessDarwin
121-
def test_save_core_default_values_for_style_mach_o(self):
122-
"""Test we can still save a core for minidump when no
123-
core style is specified."""
124-
self.build()
125-
exe = self.getBuildArtifact("a.out")
126-
core = self.getBuildArtifact("core.dmp")
127-
target = self.dbg.CreateTarget(exe)
128-
target.BreakpointCreateByName("bar")
129-
process = target.LaunchSimple(
130-
None, None, self.get_process_working_directory()
131-
)
132-
self.assertState(process.GetState(), lldb.eStateStopped)
133-
pid = process.GetProcessID()
134-
options = lldb.SBSaveCoreOptions()
135-
136-
options.SetPluginName("mach-o")
137-
mach_o_path = core + ".mach-o"
138-
error = process.SaveCore(options)
139-
self.assertSuccess(error, error.GetCString())
140-
self.assertTrue(os.path.isfile(mach_o_path))
141-
self.assertTrue(self.validate_core_pid(pid, mach_o_path))

0 commit comments

Comments
 (0)