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

Unified Diff: tools/origin_trials/PRESUBMIT.py

Issue 1578793002: Add experimental framework token generation tool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a header to satisfy licencecheck.pl, which can't check the LICENCE file. Created 4 years, 10 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 | « tools/origin_trials/OWNERS ('k') | tools/origin_trials/eftest.key » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/origin_trials/PRESUBMIT.py
diff --git a/tools/mb/PRESUBMIT.py b/tools/origin_trials/PRESUBMIT.py
similarity index 60%
copy from tools/mb/PRESUBMIT.py
copy to tools/origin_trials/PRESUBMIT.py
index 838d3c39910554824c4fcb5c1c3102451636526a..40bf05dce900dd16e6ed8843670b531cba57077b 100644
--- a/tools/mb/PRESUBMIT.py
+++ b/tools/origin_trials/PRESUBMIT.py
@@ -1,4 +1,4 @@
-# Copyright 2015 The Chromium Authors. All rights reserved.
+# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -10,18 +10,10 @@ def _CommonChecks(input_api, output_api):
pylint_checks = input_api.canned_checks.GetPylint(input_api, output_api)
results.extend(input_api.RunTests(pylint_checks))
- # Run the MB unittests.
+ # Run the generate_token unittests.
results.extend(input_api.canned_checks.RunUnitTestsInDirectory(
input_api, output_api, '.', [ r'^.+_unittest\.py$']))
- # Validate the format of the mb_config.pyl file.
- cmd = [input_api.python_executable, 'mb.py', 'validate']
- kwargs = {'cwd': input_api.PresubmitLocalPath()}
- results.extend(input_api.RunTests([
- input_api.Command(name='mb_validate',
- cmd=cmd, kwargs=kwargs,
- message=output_api.PresubmitError)]))
-
return results
« no previous file with comments | « tools/origin_trials/OWNERS ('k') | tools/origin_trials/eftest.key » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698