Chromium Code Reviews| Index: PRESUBMIT.py |
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
| index 888e69a1d46ce5b3680f0cb154e0f63c432b41fa..80f1a821298bf2ac7006a3ab29bda08cfa97a213 100644 |
| --- a/PRESUBMIT.py |
| +++ b/PRESUBMIT.py |
| @@ -50,8 +50,7 @@ def _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api): |
| file_inclusion_pattern = r'.+%s' % source_extensions |
| file_exclusion_pattern = ( |
| r'.+(_test_support|profile_sync_service_harness|' |
| - r'_(unit|browser|ui|perf)test)%s' % |
| - source_extensions) |
| + r'_(unit|browser|ui|perf)?test)%s' % source_extensions) |
|
Paweł Hajdan Jr.
2011/09/21 17:19:42
nit: While you're here, it's probably worth to add
Jói
2011/09/21 20:30:20
Done.
|
| path_exclusion_pattern = r'.*[/\\](test|tool(s)?)[/\\].*' |
| base_function_pattern = r'ForTest(ing)?|for_test(ing)?' |