From 29394f9399bf78b7e701a023732d136119e95ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Dupressoir?= Date: Thu, 4 Jun 2026 15:19:11 +0100 Subject: [PATCH] [runtest] list failing files --- scripts/testing/runtest | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/testing/runtest b/scripts/testing/runtest index 3991380ad..8c342ccaf 100755 --- a/scripts/testing/runtest +++ b/scripts/testing/runtest @@ -874,9 +874,14 @@ async def _main(): with open(options.report, 'wb') as output: _dump_report(mainconfig, log, output) - haserrors = any(not x.success for x in log) + failing = [x for x in log if not x.success] + if failing: + print(f"Failed files ({len(failing)}):") + for f in failing: + print(f" - {f.config.filename}") + exit(2) - exit(2 if haserrors else 0) + exit(0) # -------------------------------------------------------------------- if __name__ == '__main__':