summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2021-02-23 13:23:22 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2021-02-23 13:23:22 +0100
commitb84e3b1ced969679bc751b28915eb4d5f0bfc150 (patch)
tree3cdd0b646de6c514f0cfb26324a35817ee02422b /run-tests.php
parentfc1a012c494fa6f2c7a33c83ed2b6c51b69ec760 (diff)
parent8162c3d1fdd13bfdbbb010c9ce4ebf75ee0316dd (diff)
downloadphp-git-b84e3b1ced969679bc751b28915eb4d5f0bfc150.tar.gz
Merge branch 'PHP-8.0'
* PHP-8.0: 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 27a5e82d85..1dcd432682 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -784,7 +784,7 @@ function main(): void
$junit->saveXML();
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);
}
}