From 729cd8bacd89be280eaf996b6b692068d99c7249 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 22 Feb 2021 23:56:11 +0000 Subject: run-tests: fixed exit code not being set on BORKED tests 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. --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run-tests.php') 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); -- cgit v1.2.1