summaryrefslogtreecommitdiffstats
path: root/lldb/test/load_unload/TestLoadUnload.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-08-16 21:28:10 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-08-16 21:28:10 +0000
commit6ca006c7c13da67cd3aa19c2067e6990ac97c8d8 (patch)
tree77f90da83646be67cd1fce51ba3622ad60587829 /lldb/test/load_unload/TestLoadUnload.py
parentdf239670d403fb18a338f1a47ad1326e4a3b9a73 (diff)
downloadbcm5719-llvm-6ca006c7c13da67cd3aa19c2067e6990ac97c8d8.tar.gz
bcm5719-llvm-6ca006c7c13da67cd3aa19c2067e6990ac97c8d8.zip
Factored the "continue" command execution of the inferior process as part of the
cleanup before finish into the test fixture in lldbtest.TestBase.tearDown(). Derivatives of TestBase is responsible for setting self.runStarted to True if an inferior process has been started. llvm-svn: 111188
Diffstat (limited to 'lldb/test/load_unload/TestLoadUnload.py')
-rw-r--r--lldb/test/load_unload/TestLoadUnload.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/lldb/test/load_unload/TestLoadUnload.py b/lldb/test/load_unload/TestLoadUnload.py
index 65da3012934..16629e50b82 100644
--- a/lldb/test/load_unload/TestLoadUnload.py
+++ b/lldb/test/load_unload/TestLoadUnload.py
@@ -28,7 +28,7 @@ class TestLoadUnload(TestBase):
BREAKPOINT_CREATED)
self.ci.HandleCommand("run", res)
- #time.sleep(0.1)
+ self.runStarted = True
self.assertTrue(res.Succeeded(), RUN_STOPPED)
# The stop reason of the thread should be breakpoint and at a_function.
@@ -47,9 +47,6 @@ class TestLoadUnload(TestBase):
self.assertTrue(res.GetOutput().find(' resolved, hit count = 1') > 0,
BREAKPOINT_HIT_ONCE)
- self.ci.HandleCommand("continue", res)
- self.assertTrue(res.Succeeded())
-
# # We should stop agaian at a_function.
# # The stop reason of the thread should be breakpoint and at a_function.
# self.ci.HandleCommand("thread list", res)
OpenPOWER on IntegriCloud