cvs: php4 / run-tests.php
| From: | Andr� Langhorst | Date: | Wed, 06 Dec 2000 18:29:03 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2974@lists.php.net to get a copy of this message | ||
waldschrott Wed Dec 6 10:29:03 2000 EDT
Modified files:
/php4 run-tests.php
Log:
made run-tests.php windows compatible
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.8 php4/run-tests.php:1.9
--- php4/run-tests.php:1.8 Sun Dec 3 02:45:52 2000
+++ php4/run-tests.php Wed Dec 6 10:29:03 2000
@@ -78,7 +78,9 @@
$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";
}