analyze_outcomes: fix return value in case of test failure
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
40314fcc75
commit
8d178be66e
1 changed files with 2 additions and 2 deletions
|
@ -694,7 +694,7 @@ def main():
|
|||
"{} warnings | ".format(main_results.warning_count) + \
|
||||
"{} errors".format(main_results.error_count))
|
||||
|
||||
sys.exit(0 if (main_results.error_count == 0) else 2)
|
||||
sys.exit(0 if (main_results.error_count == 0) else 1)
|
||||
|
||||
except Exception: # pylint: disable=broad-except
|
||||
# Print the backtrace and exit explicitly with our chosen status.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue