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

index f5cbfb05c0d0cd8b9a3eb871b909cd786f5ee0e6..01af4aef208650774df89eb48eb778aa838c228a 100755 (executable)
@@ -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);