summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-02-26 15:23:10 (GMT)
committerWez Furlong <wez@php.net>2005-02-26 15:23:10 (GMT)
commitb38f21b99c86c06f9440c41197ec374e353fac26 (patch)
treea24b1e0ec9d80e7c93cf6d0faf16ffc9b01cd2a3 /run-tests.php
parentf6bf9e67a86994b3667f3f201a95804c3350a0ad (diff)
downloadphp-b38f21b99c86c06f9440c41197ec374e353fac26.tar.gz
let the test-suite run from an alternate build dir
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php
index 8c88095..2d9a35e 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -83,6 +83,7 @@ if (getenv('TEST_PHP_SRCDIR')) {
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 @@ if (!getenv('NO_INTERACTION')) {
$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' */