From d8be5863e571be7f971f60f841d7bb4fac2932bf Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 16 May 2016 13:44:06 +0100 Subject: [PATCH] Update test exit code for CI --- runtests | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtests b/runtests index 619694c..4d3bfa4 100755 --- a/runtests +++ b/runtests @@ -14,7 +14,8 @@ EXIT_CODE = 0 def check_if_exit_code(): if EXIT_CODE != 0: print("\n{}Tests Failed. {}Please check messages above and then re-run the command.".format(Fore.RED, Fore.YELLOW)) - exit(EXIT_CODE) + print("{}Exit Code: {}".format(Fore.RED, EXIT_CODE)) + exit(1) print("{}Linting...".format(Fore.YELLOW))