mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
regrtest: add the name of the failing test on a child error (-j option)
This commit is contained in:
parent
6c32b4a601
commit
571e8fda9b
1 changed files with 1 additions and 1 deletions
|
|
@ -637,7 +637,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
|
|||
assert result[1] == 'KeyboardInterrupt'
|
||||
raise KeyboardInterrupt # What else?
|
||||
if result[0] == CHILD_ERROR:
|
||||
raise Exception("Child error: {}".format(result[1]))
|
||||
raise Exception("Child error on {}: {}".format(test, result[1]))
|
||||
accumulate_result(test, result)
|
||||
test_index += 1
|
||||
except KeyboardInterrupt:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue