summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun-tests.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php
index e559f39561..e70ca408d5 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -114,6 +114,7 @@ if (getenv('TEST_PHP_EXECUTABLE')) {
$php = getenv('TEST_PHP_EXECUTABLE');
if ($php=='auto') {
$php = $cwd.'/sapi/cli/php';
+ putenv("TEST_PHP_EXECUTABLE=$php");
}
}
if (!file_exists($php)) {