commit | bf5149ba7be4c0ffa9efe340f77e2e12e8b1cac2 | [log] [tgz] |
---|---|---|
author | Lei Zhang <thestig@chromium.org> | Tue Apr 04 01:42:53 2017 -0700 |
committer | Lei Zhang <thestig@chromium.org> | Tue Apr 04 18:57:30 2017 +0000 |
tree | 0399c8b6ee968d1ec961d156e693c7e43dddfce6 | |
parent | 91d07df769c66cebc26ddfdccb91b25ea5b3b9bc [diff] |
Rename pdfium/bug_511_jbig_null_crash.pdf.0.png. Fix presubmit test to ignore deleted files. Change-Id: Ida20c9629803f963d6a92cedf4abbd701caeb11c Reviewed-on: https://pdfium-review.googlesource.com/3630 Reviewed-by: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index fc4cc71..2184d0b 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py
@@ -13,7 +13,7 @@ import re png_regex = re.compile('.+_expected(_(win|mac|linux))?\.pdf\.\d+.png') warnings = [] - for f in input_api.AffectedFiles(): + for f in input_api.AffectedFiles(include_deletes=False): local_path = f.LocalPath() if local_path.endswith('.png'): if not png_regex.match(local_path):
diff --git a/pdfium/bug_511_jbig_null_crash.pdf.0.png b/pdfium/bug_511_jbig_null_crash_expected.pdf.0.png similarity index 100% rename from pdfium/bug_511_jbig_null_crash.pdf.0.png rename to pdfium/bug_511_jbig_null_crash_expected.pdf.0.png Binary files differ