Commit d2f03721 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Test script catch Ctrl-C

parent 4f9aed40
......@@ -2,6 +2,7 @@
import subprocess
import sys
import time
import signal
import os
from functools import partial
from multiprocessing import cpu_count
......@@ -68,6 +69,8 @@ def summarize(results, elapsed):
if __name__ == '__main__':
# Catch Ctrl-C to stop the app from the console
signal.signal(signal.SIGINT, signal.SIG_DFL)
ret = main()
sys.stdout.write('\033[0m\n')
sys.stdout.flush()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment