Install the SIGINT (control-c) handler before invoking the text test runner.
llvm-svn: 110595
This commit is contained in:
parent
788e84d70e
commit
f4804c696d
|
|
@ -180,6 +180,10 @@ if ("LLDB_LOG" in os.environ):
|
||||||
if not res.Succeeded():
|
if not res.Succeeded():
|
||||||
raise Exception('log enable failed (check your LLDB_LOG env variable...')
|
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)
|
unittest2.TextTestRunner(verbosity=verbose).run(suite)
|
||||||
|
|
||||||
# Add some delay before calling SBDebugger.Terminate().
|
# Add some delay before calling SBDebugger.Terminate().
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue