From: Andre Langhorst Date: Wed, 6 Dec 2000 18:29:03 +0000 (+0000) Subject: made run-tests.php windows compatible X-Git-Tag: php-4.0.5RC1~993 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5604ae2de421a0731145b5f802bd8372c4b086a5;p=php made run-tests.php windows compatible --- diff --git a/run-tests.php b/run-tests.php index 00d252ff60..9760b38994 100755 --- a/run-tests.php +++ b/run-tests.php @@ -78,7 +78,9 @@ function initialize() { $windows_p = (substr(php_uname(), 0, 7) == "Windows"); if ($windows_p) { - $php = "./php.exe"; + if (file_exists('Release_TS_inline/php.exe')) $php ="Release_TS_inline\\php.exe"; + elseif (file_exists('Release_TS/php.exe')) $php ="Release_TS\\php.exe"; + else $php = "./php.exe"; } else { $php = "./php"; }