From 59d413ceb84f9bb83536f5c716dd49090663d84c Mon Sep 17 00:00:00 2001 From: Joe Watkins Date: Sun, 29 Oct 2017 04:37:21 +0000 Subject: [PATCH] make sure run-tests reports exit status upon prerequisite error --- run-tests.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-tests.php b/run-tests.php index d50e4b7861..333b5179c4 100755 --- a/run-tests.php +++ b/run-tests.php @@ -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 -- 2.49.0