Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: tools/skpbench/_hardware.py

Issue 2488043003: skpbench: filter out junk spewed by Pixel C driver (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/skpbench/_hardware_pixel_c.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skpbench/_hardware.py
diff --git a/tools/skpbench/_hardware.py b/tools/skpbench/_hardware.py
index 525c4c1e491cce7d8bfaa2fd127b5a0968bc3638..de8848df783092e89f87ea5e198900aebdbe7bee 100644
--- a/tools/skpbench/_hardware.py
+++ b/tools/skpbench/_hardware.py
@@ -29,6 +29,10 @@ class Hardware:
def __exit__(self, exception_type, exception_value, traceback):
pass
+ def filter_line(self, line):
+ """Returns False if the provided output line can be suppressed."""
+ return True
+
def sanity_check(self):
"""Raises a HardwareException if any hardware state is not as expected."""
pass
« no previous file with comments | « no previous file | tools/skpbench/_hardware_pixel_c.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698