|
|
|
@ -873,7 +873,7 @@ HELP; |
|
|
|
|
|
|
|
junit_save_xml(); |
|
|
|
|
|
|
|
if (getenv('REPORT_EXIT_STATUS') == 1 and $sum_results['FAILED']) { |
|
|
|
if (getenv('REPORT_EXIT_STATUS') == 1 && ($sum_results['FAILED'] || $sum_results['BORKED'])) { |
|
|
|
exit(1); |
|
|
|
} |
|
|
|
|
|
|
|
@ -1009,7 +1009,7 @@ save_or_mail_results(); |
|
|
|
|
|
|
|
junit_save_xml(); |
|
|
|
|
|
|
|
if (getenv('REPORT_EXIT_STATUS') == 1 and $sum_results['FAILED']) { |
|
|
|
if (getenv('REPORT_EXIT_STATUS') == 1 && ($sum_results['FAILED'] || $sum_results['BORKED'])) { |
|
|
|
exit(1); |
|
|
|
} |
|
|
|
exit(0); |
|
|
|
|