summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorAndre Langhorst <waldschrott@php.net>2000-12-06 18:29:03 +0000
committerAndre Langhorst <waldschrott@php.net>2000-12-06 18:29:03 +0000
commit5604ae2de421a0731145b5f802bd8372c4b086a5 (patch)
tree2b2219f4c8aa654524e0912c511c4362081f5f79 /run-tests.php
parent45c218968cbe46d5bf89dd73a5c7b90246eb5237 (diff)
downloadphp-git-5604ae2de421a0731145b5f802bd8372c4b086a5.tar.gz
made run-tests.php windows compatible
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php4
1 files changed, 3 insertions, 1 deletions
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";
}