Install the SIGINT (control-c) handler before invoking the text test runner.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110595 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/dotest.py b/test/dotest.py
index 3d12a7d..3edc980 100755
--- a/test/dotest.py
+++ b/test/dotest.py
@@ -180,6 +180,10 @@
     if not res.Succeeded():
         raise Exception('log enable failed (check your LLDB_LOG env variable...')
 
+# Install the control-c handler.
+unittest2.signals.installHandler()
+
+# Invoke the default TextTestRunner to run the test suite.
 unittest2.TextTestRunner(verbosity=verbose).run(suite)
 
 # Add some delay before calling SBDebugger.Terminate().