[Lldb-commits] [lldb] r110595 - /lldb/trunk/test/dotest.py
Johnny Chen
johnny.chen at apple.com
Mon Aug 9 13:40:52 PDT 2010
Author: johnny
Date: Mon Aug 9 15:40:52 2010
New Revision: 110595
URL: http://llvm.org/viewvc/llvm-project?rev=110595&view=rev
Log:
Install the SIGINT (control-c) handler before invoking the text test runner.
Modified:
lldb/trunk/test/dotest.py
Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=110595&r1=110594&r2=110595&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Mon Aug 9 15:40:52 2010
@@ -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().
More information about the lldb-commits
mailing list