diff options
author | gayane <gayane@chromium.org> | 2014-12-12 19:48:09 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-13 03:49:29 +0000 |
commit | e17026679329c19ce4c2b988ee0c33c9cfeaa7fc (patch) | |
tree | 7eacc8c2299477d77f39d4ad1f0779ce6b069301 /PRESUBMIT_test_mocks.py | |
parent | 80295948bf0bc43ebb640afd81fa152e9679fd36 (diff) | |
download | chromium_src-e17026679329c19ce4c2b988ee0c33c9cfeaa7fc.zip chromium_src-e17026679329c19ce4c2b988ee0c33c9cfeaa7fc.tar.gz chromium_src-e17026679329c19ce4c2b988ee0c33c9cfeaa7fc.tar.bz2 |
Looking into all changed files to find actions.xml.
In case actions.xml is included in the changelist the chrome/browser/resources/PRESUBMIT.py shouldn't run because the presubmit for actions.xml will do more complete job.
Fixing the bug to look into all changed files in the CL where previously it was only looking at subdirectories of current presubmit script to find actions.xml
BUG=439978
Review URL: https://codereview.chromium.org/760163004
Cr-Commit-Position: refs/heads/master@{#308244}
Diffstat (limited to 'PRESUBMIT_test_mocks.py')
-rw-r--r-- | PRESUBMIT_test_mocks.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PRESUBMIT_test_mocks.py b/PRESUBMIT_test_mocks.py index f99671d..7d286b9 100644 --- a/PRESUBMIT_test_mocks.py +++ b/PRESUBMIT_test_mocks.py @@ -24,6 +24,7 @@ class MockInputApi(object): self.subprocess = subprocess self.files = [] self.is_committing = False + self.change = MockChange([]) def AffectedFiles(self, file_filter=None): return self.files |