diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2016-10-12 20:11:51 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2016-10-12 20:15:49 +0200 |
commit | 5aae01104f88f98f42fd997d360757651f7cc919 (patch) | |
tree | 7952bc03a1e88f1c1208e19c23e8a98ba968e3b7 /run-tests.php | |
parent | 74b5662536ccdf9b7b02c495f02a27c64e27fff7 (diff) | |
download | php-git-5aae01104f88f98f42fd997d360757651f7cc919.tar.gz |
Add stdin command and -s command line parameter to phpdbg
This allows reading the initial script file from stdin instead of being forced to put the script into a file in order to run it with phpdbg.
Especially important for programmatic execution of phpdbg.
Also adding tests/include_once.phpt and tests/set_exception_handler.phpt as I seem to have forgotten to git add them sometime long ago...
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index 66fcdd7fb3..fef39c50b8 100755 --- a/run-tests.php +++ b/run-tests.php @@ -164,7 +164,7 @@ if (getenv('TEST_PHP_EXECUTABLE')) { $phpdbg = $cwd . '/sapi/phpdbg/phpdbg'; if (file_exists($phpdbg)) { - putenv("TEST_PHP_CGI_EXECUTABLE=$phpdbg"); + putenv("TEST_PHPDBG_EXECUTABLE=$phpdbg"); } else { $phpdbg = null; } |