diff options
Diffstat (limited to 'lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py')
-rw-r--r-- | lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py b/lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py index cc0523085e2..cfa6a10bc25 100644 --- a/lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py +++ b/lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py @@ -2,8 +2,9 @@ Test watchpoint list, enable, disable, and delete commands. """ +import lldb_shared + import os, time -import unittest2 import lldb from lldbtest import * import lldbutil @@ -308,10 +309,3 @@ class WatchpointCommandsTestCase(TestBase): # The hit count should be 1. self.expect("watchpoint list -v", substrs = ['hit_count = 1']) - - -if __name__ == '__main__': - import atexit - lldb.SBDebugger.Initialize() - atexit.register(lambda: lldb.SBDebugger.Terminate()) - unittest2.main() |