wez Sat Feb 26 10:23:10 2005 EDT
Modified files:
/php-src run-tests.php
Log:
let the test-suite run from an alternate build dir
http://cvs.php.net/diff.php/php-src/run-tests.php?r1=1.202&r2=1.203&ty=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.202 php-src/run-tests.php:1.203
--- php-src/run-tests.php:1.202 Tue Feb 22 20:16:21 2005
+++ php-src/run-tests.php Sat Feb 26 10:23:10 2005
@@ -83,6 +83,7 @@
putenv('SSH_CLIENT=deleted');
putenv('SSH_AUTH_SOCK=deleted');
putenv('SSH_TTY=deleted');
+putenv('SSH_CONNECTION=deleted');
$cwd = getcwd();
set_time_limit(0);
@@ -484,10 +485,10 @@
$automake = shell_exec('automake --version');
$autoconf = shell_exec('autoconf --version');
/* Always use the generated libtool - Mac OSX uses
'glibtool' */
- $libtool = shell_exec($_SERVER['PWD'] . '/libtool
--version');
+ $libtool = shell_exec($CUR_DIR . '/libtool --version');
/* Use shtool to find out if there is glibtool present
(MacOSX) */
- $sys_libtool_path =
shell_exec("{$_SERVER['PWD']}/build/shtool path glibtool libtool");
+ $sys_libtool_path = shell_exec("./build/shtool path
glibtool libtool");
$sys_libtool = shell_exec(str_replace("\n", "",
$sys_libtool_path) . ' --version');
/* Try the most common flags for 'version' */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php