diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-02 17:29:00 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-02 17:29:00 +0000 |
commit | 0b2f07b0a9eb0572d3003453e24d6f47eb9d89f0 (patch) | |
tree | aebfea91849a43685b1dcd431929cec800c3b303 /PRESUBMIT.py | |
parent | 26d912d33fc645ff2499e3537adad66d46e76b33 (diff) | |
download | chromium_src-0b2f07b0a9eb0572d3003453e24d6f47eb9d89f0.zip chromium_src-0b2f07b0a9eb0572d3003453e24d6f47eb9d89f0.tar.gz chromium_src-0b2f07b0a9eb0572d3003453e24d6f47eb9d89f0.tar.bz2 |
Don't check for @interface in _unittest.mm files in base
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6880347
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r-- | PRESUBMIT.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index e196e32..6c093c9 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -23,7 +23,8 @@ def _CheckNoInterfacesInBase(input_api, output_api): files = [] for f in input_api.AffectedSourceFiles(input_api.FilterSourceFile): if (f.LocalPath().find('base/') != -1 and - f.LocalPath().find('base/test/') == -1): + f.LocalPath().find('base/test/') == -1 and + not f.LocalPath().endswith('_unittest.mm')): contents = input_api.ReadFile(f) if pattern.search(contents): files.append(f) |