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)
|
print(f" {t}", file=sys.stderr)
|
||||||
if failed:
|
if failed:
|
||||||
print("failed %d:" % len(failed), file=sys.stderr)
|
print("failed %d:" % len(failed), file=sys.stderr)
|
||||||
for t in failed:
|
for name, dist, mode, variant, fmt in failed:
|
||||||
print(f" {t}", file=sys.stderr)
|
print(
|
||||||
|
f" {name} --dist={dist} --mode={mode} --variant={variant}",
|
||||||
|
file=sys.stderr,
|
||||||
|
)
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue