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

Unified Diff: content/test/gpu/PRESUBMIT.py

Issue 1920403002: [content/test/gpu] Run pylint check of gpu tests in unittest instead of PRESUBMIT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update path to LICENSE.txt of logilab/README.chromium Created 4 years, 7 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/test/gpu/gpu_tests/lint_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/PRESUBMIT.py
diff --git a/content/test/gpu/PRESUBMIT.py b/content/test/gpu/PRESUBMIT.py
index a5da32b01728840db76dcfdac594eff922311687..b8fa696b208484ce77e3193a51b58f8696dbfb8c 100644
--- a/content/test/gpu/PRESUBMIT.py
+++ b/content/test/gpu/PRESUBMIT.py
@@ -10,11 +10,6 @@ for more details about the presubmit API built into depot_tools.
import re
-def _PyLintChecks(input_api, output_api):
- pylint_checks = input_api.canned_checks.GetPylint(input_api, output_api,
- extra_paths_list=_GetPathsToPrepend(input_api), pylintrc='pylintrc')
- return input_api.RunTests(pylint_checks)
-
def _GetPathsToPrepend(input_api):
current_dir = input_api.PresubmitLocalPath()
chromium_src_dir = input_api.os_path.join(current_dir, '..', '..', '..')
@@ -57,13 +52,11 @@ def _GpuUnittestsArePassingCheck(input_api, output_api):
def CheckChangeOnUpload(input_api, output_api):
results = []
- results.extend(_PyLintChecks(input_api, output_api))
results.extend(_GpuUnittestsArePassingCheck(input_api, output_api))
return results
def CheckChangeOnCommit(input_api, output_api):
results = []
- results.extend(_PyLintChecks(input_api, output_api))
results.extend(_GpuUnittestsArePassingCheck(input_api, output_api))
return results
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/test/gpu/gpu_tests/lint_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698