diff options
-rw-r--r-- | base/PRESUBMIT.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/PRESUBMIT.py b/base/PRESUBMIT.py index 7d6fc09..c84a992 100644 --- a/base/PRESUBMIT.py +++ b/base/PRESUBMIT.py @@ -14,6 +14,7 @@ def _CheckNoInterfacesInBase(input_api, output_api): files = [] for f in input_api.AffectedSourceFiles(input_api.FilterSourceFile): if (f.LocalPath().startswith('base/') and + not "/test/" in f.LocalPath() and not f.LocalPath().endswith('_unittest.mm')): contents = input_api.ReadFile(f) if pattern.search(contents): |