diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-04-28 16:08:17 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-04-28 16:08:17 +0200 |
commit | 5eb4ab07f27c82336d337afa01d02a7bf574adaf (patch) | |
tree | e6ff1a7f36e6da366bdc8a7964f98326059c9cab /run-tests.php | |
parent | 88a701aa02ac44d0f4d6cd3dc74ca56e2058d0dc (diff) | |
download | php-git-5eb4ab07f27c82336d337afa01d02a7bf574adaf.tar.gz |
Show eventual output of clean sections
This is a hack to investigate why mysqli_insert_packet_overflow.phpt
intermittently fails on AppVeyor, and will be reverted in due time.
See <https://github.com/php/php-src/pull/5447#issuecomment-620508790>.
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index ffdb72a00e..93d84cc73f 100755 --- a/run-tests.php +++ b/run-tests.php @@ -2497,7 +2497,10 @@ COMMAND $cmd $clean_params = settings2params($clean_params); $extra = !IS_WINDOWS ? "unset REQUEST_METHOD; unset QUERY_STRING; unset PATH_TRANSLATED; unset SCRIPT_FILENAME; unset REQUEST_METHOD;" : ""; - system_with_timeout("$extra $php $pass_options $extra_options -q $clean_params $no_file_cache \"$test_clean\"", $env); + $clean_output = system_with_timeout("$extra $php $pass_options $extra_options -q $clean_params $no_file_cache \"$test_clean\"", $env); + if (trim($clean_output) != '') { + echo "\nCLEAN OUTPUT: $file: $clean_output\n"; + } } if (!$cfg['keep']['clean']) { |