diff --git a/run-tests.php b/run-tests.php index 96f47775bbdae..53ef88c20b3c6 100755 --- a/run-tests.php +++ b/run-tests.php @@ -2527,6 +2527,10 @@ function run_test($php, $file, $env) show_file_block('out', $output); + if ($preload) { + $output = trim(preg_replace("/Warning: Can't preload .*\n/", "", $output)); + } + if (isset($section_text['EXPECTF']) || isset($section_text['EXPECTREGEX'])) { if (isset($section_text['EXPECTF'])) {