diff options
Diffstat (limited to 'chromium/tools/vim/PRESUBMIT.py')
-rw-r--r-- | chromium/tools/vim/PRESUBMIT.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chromium/tools/vim/PRESUBMIT.py b/chromium/tools/vim/PRESUBMIT.py index 06b5bd35e76..10dd9ac688c 100644 --- a/chromium/tools/vim/PRESUBMIT.py +++ b/chromium/tools/vim/PRESUBMIT.py @@ -27,8 +27,11 @@ def CheckChangeOnUpload(input_api, output_api): 'ninja_output.py' in affected_files or \ any([input_api.re.match(r'tests(/|\\)',f) for f in affected_files]): results += input_api.RunTests( - input_api.canned_checks.GetUnitTests(input_api, output_api, [ - 'tests/chromium.ycm_extra_conf_unittest.py' - ])) + input_api.canned_checks.GetUnitTests( + input_api, + output_api, ['tests/chromium.ycm_extra_conf_unittest.py'], + run_on_python2=False, + run_on_python3=True, + skip_shebang_check=True)) return results |