diff options
Diffstat (limited to 'lldb/test/python_api/hello_world')
| -rw-r--r-- | lldb/test/python_api/hello_world/TestHelloWorld.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/test/python_api/hello_world/TestHelloWorld.py b/lldb/test/python_api/hello_world/TestHelloWorld.py index 036e6e895b0..cf24889260d 100644 --- a/lldb/test/python_api/hello_world/TestHelloWorld.py +++ b/lldb/test/python_api/hello_world/TestHelloWorld.py @@ -93,6 +93,12 @@ class HelloWorldTestCase(TestBase): self.line1 = line_number('main.c', '// Set break point at this line.') self.line2 = line_number('main.c', '// Waiting to be attached...') + def tearDown(self): + # Destroy process before TestBase.tearDown() + self.dbg.GetSelectedTarget().GetProcess().Destroy() + # Call super's tearDown(). + TestBase.tearDown(self) + def hello_world_python(self): """Create target, breakpoint, launch a process, and then kill it.""" |

