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

Unified Diff: tools/perf/measurements/smoothness_unittest.py

Issue 342993002: Allow blink.console or webkit.console in telemetry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months 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
Index: tools/perf/measurements/smoothness_unittest.py
diff --git a/tools/perf/measurements/smoothness_unittest.py b/tools/perf/measurements/smoothness_unittest.py
index 80fa42ee33a4b16edfcf04265a5f7b747f26cc7e..181d42a359d3cdc4a6b02397fceb2e624db51696 100644
--- a/tools/perf/measurements/smoothness_unittest.py
+++ b/tools/perf/measurements/smoothness_unittest.py
@@ -68,11 +68,14 @@ class SmoothnessUnitTest(
'DELAY(cc.BeginMainFrame;0.012000;static)',
'DELAY(cc.DrawAndSwap;0.012000;alternating)',
'DELAY(gpu.PresentingFrame;0.012000;static)',
- 'benchmark',
- 'webkit.console'
+ 'benchmark'
]
actual_category_filter = tab.browser.category_filter.split(',')
actual_category_filter.sort()
+
+ actual_category_filter.remove('webkit.console');
+ actual_category_filter.remove('blink.console');
+
if expected_category_filter != actual_category_filter:
sys.stderr.write("Expected category filter: %s\n" %
repr(expected_category_filter))

Powered by Google App Engine
This is Rietveld 408576698