diff options
author | Joe Watkins <krakjoe@php.net> | 2017-10-29 04:38:20 +0000 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-10-29 04:38:20 +0000 |
commit | f45a7e26deba30c8dc1092fab2bc875e8987a151 (patch) | |
tree | 2ca1456c2699c6fdfd3568a817562fe09686c644 /run-tests.php | |
parent | c4c4056041e26244dd511b0f36d7e3d14b1182c4 (diff) | |
parent | cb04599d27e76bfb5548ccc8816ef66e25e009db (diff) | |
download | php-git-f45a7e26deba30c8dc1092fab2bc875e8987a151.tar.gz |
Merge branch 'PHP-7.2'
* PHP-7.2:
make sure run-tests reports exit status upon prerequisite error
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php index c95ef4e54d..5694df9ff6 100755 --- a/run-tests.php +++ b/run-tests.php @@ -52,7 +52,7 @@ if (!extension_loaded('pcre')) { +-----------------------------------------------------------+ NO_PCRE_ERROR; -exit; +exit(1); } if (!function_exists('proc_open')) { @@ -65,7 +65,7 @@ if (!function_exists('proc_open')) { +-----------------------------------------------------------+ NO_PROC_OPEN_ERROR; -exit; +exit(1); } // If timezone is not set, use UTC. |