summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan K. Taylor <odigiman@gmail.com>2021-02-22 23:56:11 +0000
committerChristoph M. Becker <cmbecker69@gmx.de>2021-02-23 12:50:03 +0100
commit729cd8bacd89be280eaf996b6b692068d99c7249 (patch)
treebe3933c1d9b3ecea86ad87879de1bf4ed1041b32
parent06c9633b43a032236b449739a72f4d55cd648fb4 (diff)
downloadphp-git-PHP-7.3.tar.gz
run-tests: fixed exit code not being set on BORKED testsPHP-7.3
When no test paths are specified this shows up when 'make test' is used on a PECL extension without specifying tests to run (or in php-src too, I guess...) Closes GH-6717.
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index 84b43866fe..6e551f4bb4 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1015,7 +1015,7 @@ save_or_mail_results();
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);
}
exit(0);