summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-20 13:27:38 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-20 13:27:38 +0000
commit3de922f39b244a05cf5ed58699256158048a1b89 (patch)
tree80f5fd65f420f54afa2daef7d217670812614bb6 /PRESUBMIT.py
parenta3e41cd4f1ed6879b25a3dcc8730db868df69fd4 (diff)
downloadchromium_src-3de922f39b244a05cf5ed58699256158048a1b89.zip
chromium_src-3de922f39b244a05cf5ed58699256158048a1b89.tar.gz
chromium_src-3de922f39b244a05cf5ed58699256158048a1b89.tar.bz2
Import TestRunner library into chromium.
The reasons for the move are: - it's actually a blink embedder, so it can't use blink/wtf types - it can't use base either - we want to replace CppBoundClass with gin::Wrappable, not possible in blink In the first step, this is mostly a 1:1 copy (except for include paths). Follow-up CLs will move the test plugin and layout tests helpers and clean up the coding style BUG=324658 R=abarth@chromium.org, maruel@chromium.org, torne@chromium.org, jam@chromium.org TBR=torne@chromium.org Review URL: https://codereview.chromium.org/110533009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242095 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index e33fa80..9bb1471 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[\\\/]shell[\\\/]renderer[\\\/]test_runner[\\\/].*",
+ r"^content[\\\/]shell[\\\/]common[\\\/]test_runner[\\\/].*",
+)
+
# 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))