Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(913)

Unified Diff: tools/vim/PRESUBMIT.py

Issue 1469023002: YouCompleteMe Ninja integration should accept dirs named out_* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed regression, add test, include ninja_output.py in PRESUBMIT Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/vim/ninja_output.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/vim/PRESUBMIT.py
diff --git a/tools/vim/PRESUBMIT.py b/tools/vim/PRESUBMIT.py
index 0456d37e86b253b1657275063c4ff16af79aadc6..33cdd6d82bc4b80468b15d9f0d983acb892d35a1 100644
--- a/tools/vim/PRESUBMIT.py
+++ b/tools/vim/PRESUBMIT.py
@@ -21,6 +21,7 @@ def CheckChangeOnUpload(input_api, output_api):
# test requires access to 'ninja' and hasn't been tested on platforms other
# than Linux.
if 'chromium.ycm_extra_conf.py' in affected_files or \
+ '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(
« no previous file with comments | « no previous file | tools/vim/ninja_output.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698