diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-01 17:36:42 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-01 17:36:42 +0200 |
commit | 7d90f4864d9d0e56313d4cd5338d6f895638a067 (patch) | |
tree | 2b03f114fc70ecb9062872926a46bd7eae182d1f /run-tests.php | |
parent | b09bddcaa5d6af94f0b94b324c1f52045c909d5e (diff) | |
download | php-git-7d90f4864d9d0e56313d4cd5338d6f895638a067.tar.gz |
Require a space ofter run-tests "warn"
We don't want to treat a PHP "Warning: " as a run-tests warn.
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index 1c7916d68d..6c1920b366 100755 --- a/run-tests.php +++ b/run-tests.php @@ -2163,7 +2163,7 @@ TEST $file if (!strncasecmp('info', $output, 4) && preg_match('/^info\s*(.+)/i', $output, $m)) { $info = " (info: $m[1])"; - } elseif (!strncasecmp('warn', $output, 4) && preg_match('/^warn\s*(.+)/i', $output, $m)) { + } elseif (!strncasecmp('warn', $output, 4) && preg_match('/^warn\s+(.+)/i', $output, $m)) { $warn = true; /* only if there is a reason */ $info = " (warn: $m[1])"; } elseif (!strncasecmp('xfail', $output, 5)) { |