##// END OF EJS Templates
run-tests: add abort flag...
Matt Mackall -
r19273:f3effc49 default
parent child Browse files
Show More
@@ -863,6 +863,9 b' def run(cmd, wd, options, replacements, '
863 if ret:
863 if ret:
864 killdaemons(env['DAEMON_PIDS'])
864 killdaemons(env['DAEMON_PIDS'])
865
865
866 if abort:
867 raise KeyboardInterrupt()
868
866 for s, r in replacements:
869 for s, r in replacements:
867 output = re.sub(s, r, output)
870 output = re.sub(s, r, output)
868 return ret, output.splitlines(True)
871 return ret, output.splitlines(True)
@@ -1182,6 +1185,7 b" results = {'.':[], '!':[], 's':[], 'i':["
1182 resultslock = threading.Lock()
1185 resultslock = threading.Lock()
1183 times = []
1186 times = []
1184 iolock = threading.Lock()
1187 iolock = threading.Lock()
1188 abort = False
1185
1189
1186 def runqueue(options, tests):
1190 def runqueue(options, tests):
1187 for test in tests:
1191 for test in tests:
General Comments 0
You need to be logged in to leave comments. Login now