diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-08-16 21:28:10 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-08-16 21:28:10 +0000 |
commit | 6ca006c7c13da67cd3aa19c2067e6990ac97c8d8 (patch) | |
tree | 77f90da83646be67cd1fce51ba3622ad60587829 /lldb/test/stl/TestSTL.py | |
parent | df239670d403fb18a338f1a47ad1326e4a3b9a73 (diff) | |
download | bcm5719-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/stl/TestSTL.py')
-rw-r--r-- | lldb/test/stl/TestSTL.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lldb/test/stl/TestSTL.py b/lldb/test/stl/TestSTL.py index 15421a6b15c..e909e51898a 100644 --- a/lldb/test/stl/TestSTL.py +++ b/lldb/test/stl/TestSTL.py @@ -31,7 +31,7 @@ class TestSTL(TestBase): BREAKPOINT_CREATED) self.ci.HandleCommand("run", res) - #time.sleep(0.1) + self.runStarted = True self.assertTrue(res.Succeeded(), RUN_STOPPED) # Stop at 'std::string hello_world ("Hello World!");'. @@ -70,9 +70,6 @@ class TestSTL(TestBase): output.find('stop reason = step in,') > 0, "Command 'thread backtrace' shows we stepped in STL") - self.ci.HandleCommand("continue", res) - self.assertTrue(res.Succeeded()) - if __name__ == '__main__': import atexit |