]> granicus.if.org Git - php/commitdiff
- fix make test TESTS=... and dynamic extension usage on windows
authorPierre Joye <pajoye@php.net>
Wed, 2 Jul 2008 12:46:48 +0000 (12:46 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 2 Jul 2008 12:46:48 +0000 (12:46 +0000)
run-tests.php

index eb6a56277db55d71b0d486c40ee6ad1d07aace63..d1b91a8ba7a6cfd0c374b73d771a4eaefff1a26e 100755 (executable)
@@ -544,7 +544,9 @@ HELP;
                }
        }
 
-       if (strlen($conf_passed)) {
+       if (substr(PHP_OS, 0, 3) != "WIN")) {
+               $pass_options .= " -c " . escapeshellarg($conf_passed);
+       } else {
                $pass_options .= " -c '$conf_passed'";
        }