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

Unified Diff: PRESUBMIT.py

Issue 2553623002: [test] Refactoring - move presubmit method (Closed)
Patch Set: Use method from canned_checks Created 4 years 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/presubmit.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 54adadb4af02659e16723adc101393f9ee6630c8..1c161cb25e831b87744cbeef49fe79283e5303e0 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -67,7 +67,6 @@ def _V8PresubmitChecks(input_api, output_api):
input_api.PresubmitLocalPath(), 'tools'))
from presubmit import CppLintProcessor
from presubmit import SourceProcessor
- from presubmit import CheckAuthorizedAuthor
from presubmit import CheckStatusFiles
results = []
@@ -81,7 +80,8 @@ def _V8PresubmitChecks(input_api, output_api):
"between declarations check failed"))
if not CheckStatusFiles(input_api.PresubmitLocalPath()):
results.append(output_api.PresubmitError("Status file check failed"))
- results.extend(CheckAuthorizedAuthor(input_api, output_api))
+ results.extend(input_api.canned_checks.CheckAuthorizedAuthor(
+ input_api, output_api))
return results
« no previous file with comments | « no previous file | tools/presubmit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698