summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2021-02-23 13:22:25 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2021-02-23 13:22:50 +0100
commit8162c3d1fdd13bfdbbb010c9ce4ebf75ee0316dd (patch)
treecc28a7c3ff042b4df634636d270889d2e01d71da /run-tests.php
parent3f282e57ec3808da9a5ab36e631452855f86d252 (diff)
parent67bb06cc9b2fe20500b5359e06a4d3ba4ddfe117 (diff)
downloadphp-git-8162c3d1fdd13bfdbbb010c9ce4ebf75ee0316dd.tar.gz
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: 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 21f9726f1e..34fc65e6c5 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -803,7 +803,7 @@ function main(): void
junit_save_xml();
if (getenv('REPORT_EXIT_STATUS') !== '0' && getenv('REPORT_EXIT_STATUS') !== 'no' &&
- ($sum_results['FAILED'] || $sum_results['LEAKED'])) {
+ ($sum_results['FAILED'] || $sum_results['BORKED'] || $sum_results['LEAKED'])) {
exit(1);
}
}