From: Pierre Joye Date: Wed, 2 Jul 2008 12:47:06 +0000 (+0000) Subject: - MFH: fix make test TESTS=... and dynamic extension usage on windows X-Git-Tag: php-5.3.0alpha1~532 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a98fdc429bba3bda50a22d7e8e91e4fb47a3d9a;p=php - MFH: fix make test TESTS=... and dynamic extension usage on windows --- diff --git a/run-tests.php b/run-tests.php index f5cbfb05c0..01af4aef20 100755 --- a/run-tests.php +++ b/run-tests.php @@ -550,7 +550,11 @@ HELP; } if (strlen($conf_passed)) { - $pass_options .= " -c '$conf_passed'"; + if (substr(PHP_OS, 0, 3) != "WIN")) { + $pass_options .= " -c " . escapeshellarg($conf_passed); + } else { + $pass_options .= " -c '$conf_passed'"; + } } $test_files = array_unique($test_files); $test_files = array_merge($test_files, $redir_tests);