[MacOS] Filter GVA warning logged to stdout
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 May 2019 22:41:05 +0000 (22:41 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 May 2019 22:41:05 +0000 (22:41 +0000)
https://bugs.webkit.org/show_bug.cgi?id=198303
<rdar://problem/50098041>

Reviewed by Jer Noble.

* Scripts/webkitpy/port/mac.py:
(MacPort.logging_patterns_to_strip): Filter GVA warnings.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245828 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/port/mac.py

index 7cd9e8b..568e55d 100644 (file)
@@ -1,3 +1,14 @@
+2019-05-28  Eric Carlson  <eric.carlson@apple.com>
+
+        [MacOS] Filter GVA warning logged to stdout
+        https://bugs.webkit.org/show_bug.cgi?id=198303
+        <rdar://problem/50098041>
+
+        Reviewed by Jer Noble.
+
+        * Scripts/webkitpy/port/mac.py:
+        (MacPort.logging_patterns_to_strip): Filter GVA warnings.
+
 2019-05-28  Nikita Vasilyev  <nvasilyev@apple.com>
 
         Web Inspector: Provide UIString descriptions to improve localizations
index 2145d02..726222e 100644 (file)
@@ -266,8 +266,18 @@ class MacPort(DarwinPort):
             self._helper = None
 
     def logging_patterns_to_strip(self):
-        # FIXME: Remove this after <rdar://problem/15605007> and <rdar://problem/35954459> are fixed.
-        return [(re.compile('(AVF|GVA) info:.*\n'), ''), ('AVDCreateGPUAccelerator: Error loading GPU renderer\n', '')]
+        logging_patterns = []
+
+        # FIXME: Remove this after <rdar://problem/15605007> is fixed.
+        logging_patterns.append((re.compile('(AVF|GVA) info:.*\n'), ''))
+
+        # FIXME: Remove this after <rdar://problem/35954459> is fixed.
+        logging_patterns.append(('AVDCreateGPUAccelerator: Error loading GPU renderer\n', ''))
+
+        # FIXME: Remove this after <rdar://problem/51191120> is fixed.
+        logging_patterns.append((re.compile('GVA warning: getFreeDRMInstanceCount, maxDRMInstanceCount: .*\n'), ''))
+
+        return logging_patterns
 
     def stderr_patterns_to_strip(self):
         worthless_patterns = []