From 4e83b387e528a67d05c6524896a9103bc1f867ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Dahlgren?= Date: Sun, 4 Oct 2020 18:54:04 +0200 Subject: [PATCH] Tools - Set non zero exit code if any addons fail to build (#7937) --- tools/make.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/make.py b/tools/make.py index 7452223f71..5078cdda60 100644 --- a/tools/make.py +++ b/tools/make.py @@ -1499,6 +1499,9 @@ if __name__ == "__main__": print("\nTotal Program time elapsed: {0:2}h {1:2}m {2:4.5f}s".format(h,m,s)) if ciBuild: - sys.exit(0) + if len(failedBuilds) > 0: + sys.exit(1) + else: + sys.exit(0) input("Press Enter to continue...")