coverage.py: improve output format of failed tests
This commit is contained in:
parent
d4cb065639
commit
fbc3e5549d
1 changed files with 5 additions and 2 deletions
|
@ -292,8 +292,11 @@ def main():
|
|||
print(f" {t}", file=sys.stderr)
|
||||
if failed:
|
||||
print("failed %d:" % len(failed), file=sys.stderr)
|
||||
for t in failed:
|
||||
print(f" {t}", file=sys.stderr)
|
||||
for name, dist, mode, variant, fmt in failed:
|
||||
print(
|
||||
f" {name} --dist={dist} --mode={mode} --variant={variant}",
|
||||
file=sys.stderr,
|
||||
)
|
||||
exit(1)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue