summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2021-02-23 13:14:42 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2021-02-23 13:15:30 +0100
commit67bb06cc9b2fe20500b5359e06a4d3ba4ddfe117 (patch)
treeac02acc467eb739cd2d203b6c7d1aeffda3953b4 /run-tests.php
parent81396ea89076c67f3246ccb54a51c641c5d2c767 (diff)
parent729cd8bacd89be280eaf996b6b692068d99c7249 (diff)
downloadphp-git-67bb06cc9b2fe20500b5359e06a4d3ba4ddfe117.tar.gz
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: run-tests: fixed exit code not being set on BORKED tests
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index ce16b4fbf0..c68982889a 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -797,7 +797,7 @@ HELP;
junit_save_xml();
if (getenv('REPORT_EXIT_STATUS') !== '0' &&
- getenv('REPORT_EXIT_STATUS') !== 'no' && ($sum_results['FAILED'] || $sum_results['LEAKED'])) {
+ getenv('REPORT_EXIT_STATUS') !== 'no' && ($sum_results['FAILED'] || $sum_results['BORKED'] || $sum_results['LEAKED'])) {
exit(1);
}
exit(0);