diff options
Diffstat (limited to 'lldb/test/tools/lldb-mi/interpreter')
-rw-r--r-- | lldb/test/tools/lldb-mi/interpreter/TestMiCliSupport.py | 6 | ||||
-rw-r--r-- | lldb/test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/lldb/test/tools/lldb-mi/interpreter/TestMiCliSupport.py b/lldb/test/tools/lldb-mi/interpreter/TestMiCliSupport.py index 96de4425573..b28c055afbe 100644 --- a/lldb/test/tools/lldb-mi/interpreter/TestMiCliSupport.py +++ b/lldb/test/tools/lldb-mi/interpreter/TestMiCliSupport.py @@ -2,9 +2,10 @@ Test lldb-mi can interpret CLI commands directly. """ +import lldb_shared + import lldbmi_testcase from lldbtest import * -import unittest2 class MiCliSupportTestCase(lldbmi_testcase.MiTestCaseBase): @@ -209,6 +210,3 @@ class MiCliSupportTestCase(lldbmi_testcase.MiTestCaseBase): self.expect("\^done") self.expect("@\"argc=1\\\\r\\\\n") self.expect("\*stopped,reason=\"exited-normally\"") - -if __name__ == '__main__': - unittest2.main() diff --git a/lldb/test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py b/lldb/test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py index ce277a85c44..86eb8ffb3c4 100644 --- a/lldb/test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py +++ b/lldb/test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py @@ -2,9 +2,10 @@ Test lldb-mi -interpreter-exec command. """ +import lldb_shared + import lldbmi_testcase from lldbtest import * -import unittest2 class MiInterpreterExecTestCase(lldbmi_testcase.MiTestCaseBase): @@ -231,6 +232,3 @@ class MiInterpreterExecTestCase(lldbmi_testcase.MiTestCaseBase): self.expect("\^done") self.expect("@\"argc=1\\\\r\\\\n") self.expect("\*stopped,reason=\"exited-normally\"") - -if __name__ == '__main__': - unittest2.main() |