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

Unified Diff: tools/auto_bisect/PRESUBMIT.py

Issue 564663002: Move bisect-perf-regression.py into auto_bisect directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add telemetry to PYTHONPATH for PRESUBMIT.py. Created 6 years, 3 months 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/auto_bisect/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/auto_bisect/PRESUBMIT.py
diff --git a/tools/auto_bisect/PRESUBMIT.py b/tools/auto_bisect/PRESUBMIT.py
index 20ea62f0d25916e8c20304d68ec957f04bbc6750..c06c8259658bd06fff5d4f89fdd2452a90472b6e 100644
--- a/tools/auto_bisect/PRESUBMIT.py
+++ b/tools/auto_bisect/PRESUBMIT.py
@@ -86,5 +86,8 @@ def _RunUnitTests(input_api, output_api):
def _RunPyLint(input_api, output_api):
"""Runs unit tests for auto-bisect."""
- tests = input_api.canned_checks.GetPylint(input_api, output_api)
+ telemetry_path = os.path.join(
+ input_api.PresubmitLocalPath(), os.path.pardir, 'telemetry')
+ tests = input_api.canned_checks.GetPylint(
+ input_api, output_api, extra_paths_list=[telemetry_path])
return input_api.RunTests(tests)
« no previous file with comments | « no previous file | tools/auto_bisect/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698