Browse Source

run-tests: Exit 1 on BORKED tests

pull/2250/merge
Nikita Popov 9 years ago
parent
commit
981c58705a
  1. 4
      run-tests.php

4
run-tests.php

@ -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);

Loading…
Cancel
Save