com php-src: Filter preloading warning messages: run-tests.php
| From: | Dmitry Stogov | Date: | Tue, 19 Feb 2019 14:09:07 +0000 |
| Subject: | com php-src: Filter preloading warning messages: run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104733@lists.php.net to get a copy of this message | ||
Commit: bf51b081f55fe82e0a1fe4df5bb9f0efe4c495d0
Author: Dmitry Stogov <dmitry@zend.com> Tue, 19 Feb 2019 17:09:07 +0300
Parents: 1f2dc0492d5f1fc1b5a0a5368e90f6e9685bbaea
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bf51b081f55fe82e0a1fe4df5bb9f0efe4c495d0
Log:
Filter preloading warning messages
Changed paths:
M run-tests.php
Diff:
diff --git a/run-tests.php b/run-tests.php
index 96f4777..53ef88c 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'])) {