Skip to content

Commit 5eb4ab0

Browse files
committed
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 <#5447 (comment)>.
1 parent 88a701a commit 5eb4ab0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

run-tests.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2497,7 +2497,10 @@ function run_test($php, $file, $env)
24972497
$clean_params = settings2params($clean_params);
24982498
$extra = !IS_WINDOWS ?
24992499
"unset REQUEST_METHOD; unset QUERY_STRING; unset PATH_TRANSLATED; unset SCRIPT_FILENAME; unset REQUEST_METHOD;" : "";
2500-
system_with_timeout("$extra $php $pass_options $extra_options -q $clean_params $no_file_cache \"$test_clean\"", $env);
2500+
$clean_output = system_with_timeout("$extra $php $pass_options $extra_options -q $clean_params $no_file_cache \"$test_clean\"", $env);
2501+
if (trim($clean_output) != '') {
2502+
echo "\nCLEAN OUTPUT: $file: $clean_output\n";
2503+
}
25012504
}
25022505

25032506
if (!$cfg['keep']['clean']) {

0 commit comments

Comments
 (0)