diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2019-02-19 17:09:07 +0300 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2019-02-19 17:09:07 +0300 |
| commit | bf51b081f55fe82e0a1fe4df5bb9f0efe4c495d0 (patch) | |
| tree | 25864a916dd04c054604f0e2175c72ab46450e48 /run-tests.php | |
| parent | 1f2dc0492d5f1fc1b5a0a5368e90f6e9685bbaea (diff) | |
| download | php-git-bf51b081f55fe82e0a1fe4df5bb9f0efe4c495d0.tar.gz | |
Filter preloading warning messages
Diffstat (limited to 'run-tests.php')
| -rwxr-xr-x | run-tests.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php index 96f47775bb..53ef88c20b 100755 --- a/run-tests.php +++ b/run-tests.php @@ -2527,6 +2527,10 @@ COMMAND $cmd 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'])) { |
