Skip to content

Commit b84e3b1

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: run-tests: fixed exit code not being set on BORKED tests
2 parents fc1a012 + 8162c3d commit b84e3b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ function main(): void
784784

785785
$junit->saveXML();
786786
if (getenv('REPORT_EXIT_STATUS') !== '0' && getenv('REPORT_EXIT_STATUS') !== 'no' &&
787-
($sum_results['FAILED'] || $sum_results['LEAKED'])) {
787+
($sum_results['FAILED'] || $sum_results['BORKED'] || $sum_results['LEAKED'])) {
788788
exit(1);
789789
}
790790
}

0 commit comments

Comments
 (0)