From fbc3e5549dada334b21e85d611680ff1a3553d26 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Mon, 10 Oct 2022 23:11:35 +0200 Subject: [PATCH] coverage.py: improve output format of failed tests --- coverage.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/coverage.py b/coverage.py index 81ed03e..cb08522 100755 --- a/coverage.py +++ b/coverage.py @@ -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)