| 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
|
|
|
|
|
|
|