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 92e2180929..ced680f494 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -559,6 +559,7 @@ if (isset($argc) && $argc > 1) {
case 'p':
$php = $argv[++$i];
putenv("TEST_PHP_EXECUTABLE=$php");
+ $environment['TEST_PHP_EXECUTABLE'] = $php;
break;
case 'q':
putenv('NO_INTERACTION=1');