commit | f13948e30bab4ed44a3454064d28d91f9300f252 | [log] [tgz] |
---|---|---|
author | Katie D <[email protected]> | Tue Sep 25 07:33:44 2018 |
committer | Commit Bot <[email protected]> | Tue Sep 25 07:33:44 2018 |
tree | 24931beec19c2bdc9dd9f1d0514d9f4e6b4094a9 | |
parent | fb6c96410a9094159c954a55fead45102a2ff18d [diff] [blame] |
Fix _CheckNoDISABLETypoInTests when test file is deleted. [email protected] Bug: 888425 Change-Id: I8ff979ae3d969ccff7ca9cbb1ec1deb86f65535a Reviewed-on: https://chromium-review.googlesource.com/1241956 Commit-Queue: Katie Dektar <[email protected]> Reviewed-by: Dominic Battré <[email protected]> Cr-Commit-Position: refs/heads/master@{#593847}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index e2bdf373..b14dd954 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py
@@ -877,7 +877,7 @@ r'^\s*TEST[^(]*\([a-zA-Z0-9_]+,\s*DISABLE_[a-zA-Z0-9_]+\)', input_api.re.MULTILINE) - for f in input_api.AffectedFiles(): + for f in input_api.AffectedFiles(False): if not 'test' in f.LocalPath() or not f.LocalPath().endswith('.cc'): continue