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

Side by Side Diff: content/test/gpu/page_sets/PRESUBMIT.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 unified diff | Download patch
« no previous file with comments | « content/test/gpu/gpu_tests/webgl_robustness.py ('k') | content/test/gpu/page_sets/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import os 5 import os
6 import re
7 import sys 6 import sys
8 7
9 def _GetTelemetryPath(input_api): 8 def _GetTelemetryPath(input_api):
10 return os.path.join( 9 return os.path.join(
11 os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname( 10 os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(
12 input_api.PresubmitLocalPath())))), 'tools', 'telemetry') 11 input_api.PresubmitLocalPath())))), 'tools', 'telemetry')
13 12
14 def LoadSupport(input_api): 13 def LoadSupport(input_api):
15 if 'cloud_storage' not in globals(): 14 if 'cloud_storage' not in globals():
16 # Avoid leaking changes to global sys.path. 15 # Avoid leaking changes to global sys.path.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 80
82 81
83 def CheckChangeOnUpload(input_api, output_api): 82 def CheckChangeOnUpload(input_api, output_api):
84 results = _VerifyFilesInCloud(input_api, output_api) 83 results = _VerifyFilesInCloud(input_api, output_api)
85 return results 84 return results
86 85
87 86
88 def CheckChangeOnCommit(input_api, output_api): 87 def CheckChangeOnCommit(input_api, output_api):
89 results = _VerifyFilesInCloud(input_api, output_api) 88 results = _VerifyFilesInCloud(input_api, output_api)
90 return results 89 return results
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/webgl_robustness.py ('k') | content/test/gpu/page_sets/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698