From: Gerard Roche Date: Wed, 20 May 2020 19:20:06 +0000 (+0100) Subject: run-tests: refactor X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1dde094f2442b11808bd77bc8b064be3792458a;p=php run-tests: refactor --- diff --git a/run-tests.php b/run-tests.php index 51a82aad64..0a2f592c8c 100755 --- a/run-tests.php +++ b/run-tests.php @@ -159,24 +159,14 @@ function main() define('INIT_DIR', getcwd()); - // change into the PHP source directory. + // Change into the PHP source directory. if (getenv('TEST_PHP_SRCDIR')) { @chdir(getenv('TEST_PHP_SRCDIR')); } - define('TEST_PHP_SRCDIR', getcwd()); - if (!function_exists('proc_open')) { - echo <<