]> granicus.if.org Git - php/commitdiff
make sure run-tests reports exit status upon prerequisite error
authorJoe Watkins <krakjoe@php.net>
Sun, 29 Oct 2017 04:37:21 +0000 (04:37 +0000)
committerJoe Watkins <krakjoe@php.net>
Sun, 29 Oct 2017 04:37:21 +0000 (04:37 +0000)
run-tests.php

index d50e4b786154db2f11b528b6d02cde951baf69f7..333b5179c409ba9f6cb2acdc034b90b7b6f3e974 100755 (executable)
@@ -43,7 +43,7 @@ if (!extension_loaded('pcre')) {
 +-----------------------------------------------------------+
 
 NO_PCRE_ERROR;
-exit;
+exit(1);
 }
 
 if (!function_exists('proc_open')) {
@@ -56,7 +56,7 @@ if (!function_exists('proc_open')) {
 +-----------------------------------------------------------+
 
 NO_PROC_OPEN_ERROR;
-exit;
+exit(1);
 }
 
 // Version constants only available as of 5.2.8