diff options
| author | Sascha Schumann <sas@php.net> | 2000-12-24 14:24:04 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2000-12-24 14:24:04 +0000 |
| commit | 14c195a6d8fa369288823af3529952e371061893 (patch) | |
| tree | 0081c385a2a832770a3d3aa4ce8812430d431c83 /run-tests.php | |
| parent | 1fb4c6dfe828a35b8c050835df70a588b1e61a9c (diff) | |
| download | php-git-14c195a6d8fa369288823af3529952e371061893.tar.gz | |
Fix "make test" in VPATH environments
Diffstat (limited to 'run-tests.php')
| -rwxr-xr-x | run-tests.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php index 528141a89c..0d7ddcf309 100755 --- a/run-tests.php +++ b/run-tests.php @@ -95,7 +95,7 @@ function initialize() $php = "./php.exe"; } } else { - $php = "./php"; + $php = $GLOBALS["TOP_BUILDDIR"]."/php"; } if (!is_executable($php)) { @@ -162,7 +162,7 @@ function do_testing($argc, &$argv) } } } else { - $dir = "."; + $dir = $GLOBALS["TOP_SRCDIR"]; } if (isset($dir) && $dir) { |
