summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2017-10-29 04:38:20 +0000
committerJoe Watkins <krakjoe@php.net>2017-10-29 04:38:20 +0000
commitf45a7e26deba30c8dc1092fab2bc875e8987a151 (patch)
tree2ca1456c2699c6fdfd3568a817562fe09686c644 /run-tests.php
parentc4c4056041e26244dd511b0f36d7e3d14b1182c4 (diff)
parentcb04599d27e76bfb5548ccc8816ef66e25e009db (diff)
downloadphp-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-xrun-tests.php4
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.