| Index: PRESUBMIT.py
|
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py
|
| index 6533abee5815deb2f4014daf657eb71ecc8b86b6..0adaf77444c7e618ea6e1749ea606b3abf36702f 100644
|
| --- a/PRESUBMIT.py
|
| +++ b/PRESUBMIT.py
|
| @@ -28,6 +28,13 @@ _EXCLUDED_PATHS = (
|
| r"^gpu[\\\/]config[\\\/].*_list_json\.cc$",
|
| )
|
|
|
| +# TestRunner library is temporarily excluded from pan-project checks until
|
| +# it's transitioned to chromium coding style.
|
| +_TESTRUNNER_PATHS = (
|
| + r"^content[\\\/]test[\\\/]layout_tests[\\\/]runner[\\\/].*",
|
| + r"^content[\\\/]public[\\\/]test[\\\/]layout_tests[\\\/].*",
|
| +)
|
| +
|
| # Fragment of a regular expression that matches C++ and Objective-C++
|
| # implementation files.
|
| _IMPLEMENTATION_EXTENSIONS = r'\.(cc|cpp|cxx|mm)$'
|
| @@ -999,7 +1006,8 @@ def _CommonChecks(input_api, output_api):
|
| """Checks common to both upload and commit."""
|
| results = []
|
| results.extend(input_api.canned_checks.PanProjectChecks(
|
| - input_api, output_api, excluded_paths=_EXCLUDED_PATHS))
|
| + input_api, output_api,
|
| + excluded_paths=_EXCLUDED_PATHS + _TESTRUNNER_PATHS))
|
| results.extend(_CheckAuthorizedAuthor(input_api, output_api))
|
| results.extend(
|
| _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api))
|
|
|