Commit 0c886f74 authored by Victor Stinner's avatar Victor Stinner

lose #25373: Fix regrtest --slow with interrupted test

parent b45c0f7e
...@@ -659,7 +659,8 @@ def main(tests=None, **kwargs): ...@@ -659,7 +659,8 @@ def main(tests=None, **kwargs):
def accumulate_result(test, result): def accumulate_result(test, result):
ok, test_time = result ok, test_time = result
test_times.append((test_time, test)) if ok not in (CHILD_ERROR, INTERRUPTED):
test_times.append((test_time, test))
if ok == PASSED: if ok == PASSED:
good.append(test) good.append(test)
elif ok == FAILED: elif ok == FAILED:
......
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