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

Unified Diff: content/test/gpu/gpu_tests/gpu_rasterization.py

Issue 1413883003: Add a presubmit script and pylintrc for content/test/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address kbr's comments Created 5 years, 2 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: content/test/gpu/gpu_tests/gpu_rasterization.py
diff --git a/content/test/gpu/gpu_tests/gpu_rasterization.py b/content/test/gpu/gpu_tests/gpu_rasterization.py
index a2e5e83515c0449b76504ff2cc85721bb6d199e0..60cf66b02c7bd356b0a3f5db5140af7ccdf23f36 100644
--- a/content/test/gpu/gpu_tests/gpu_rasterization.py
+++ b/content/test/gpu/gpu_tests/gpu_rasterization.py
@@ -2,11 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import cloud_storage_test_base
-import gpu_rasterization_expectations
-import optparse
+from gpu_tests import cloud_storage_test_base
+from gpu_tests import gpu_rasterization_expectations
import page_sets
+from telemetry.page import page_test
from telemetry.util import image_util
@@ -71,6 +71,9 @@ class GpuRasterization(cloud_storage_test_base.TestBase):
"""Tests that GPU rasterization produces valid content"""
test = GpuRasterizationValidator
+ def __init__(self, max_failures=None):
+ super(GpuRasterization, self).__init__(max_failures=max_failures)
+
@classmethod
def Name(cls):
return 'gpu_rasterization'
« no previous file with comments | « content/test/gpu/gpu_tests/gpu_process_expectations.py ('k') | content/test/gpu/gpu_tests/gpu_rasterization_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698