diff options
author | Pierre Joye <pajoye@php.net> | 2008-07-02 12:47:06 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2008-07-02 12:47:06 +0000 |
commit | 7a98fdc429bba3bda50a22d7e8e91e4fb47a3d9a (patch) | |
tree | 8dcda6348387d70eb5e1efb425108a2e19afa1cb | |
parent | f77382f4128ea47287d511ca2d257d00c5815797 (diff) | |
download | php-git-7a98fdc429bba3bda50a22d7e8e91e4fb47a3d9a.tar.gz |
- MFH: fix make test TESTS=... and dynamic extension usage on windows
-rwxr-xr-x | run-tests.php | 6 |
1 files changed, 5 insertions, 1 deletions
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); |