From 593f0029cfbffc5e26a09df9d1d33e1aa60e7d8f Mon Sep 17 00:00:00 2001 From: Volodymyr Shymanskyy Date: Thu, 12 Dec 2019 23:19:12 +0200 Subject: [PATCH] Retcode 1 at test failure --- test/run-spec-test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/run-spec-test.py b/test/run-spec-test.py index 5a9d584..3f74dcc 100755 --- a/test/run-spec-test.py +++ b/test/run-spec-test.py @@ -542,6 +542,8 @@ if stats.failed > 0: if stats.crashed > 0: print(f" Crashed: {stats.crashed}") print(f"======================={ansi.ENDC}") + sys.exit(1) + elif stats.success > 0: print(f"{ansi.OKGREEN}=======================") print(f" {stats.success}/{stats.total_run} tests OK")