Index: base/PRESUBMIT.py |
diff --git a/base/PRESUBMIT.py b/base/PRESUBMIT.py |
index 7d6fc0944af02fad150f2d7408d12a45c6d69df2..c84a99287bb80eb18e12f4eaefa8872f4d04cadc 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): |