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

Unified Diff: tools/auto_bisect/PRESUBMIT.py

Issue 548233002: Add a module to fetch builds from different types of builders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove print in run_tests and move changes to sys.path into main. 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/bisect_utils.py » ('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 c06c8259658bd06fff5d4f89fdd2452a90472b6e..0cfdd189ddc7911097dd8eefac3f739672c816c8 100644
--- a/tools/auto_bisect/PRESUBMIT.py
+++ b/tools/auto_bisect/PRESUBMIT.py
@@ -18,6 +18,7 @@ CONFIG_FILES = [
'run-perf-test.cfg'
]
+
def CheckChangeOnUpload(input_api, output_api):
return _CommonChecks(input_api, output_api)
@@ -88,6 +89,10 @@ def _RunPyLint(input_api, output_api):
"""Runs unit tests for auto-bisect."""
telemetry_path = os.path.join(
input_api.PresubmitLocalPath(), os.path.pardir, 'telemetry')
+ mock_path = os.path.join(
+ input_api.PresubmitLocalPath(),os.path.pardir, os.path.pardir,
+ 'third_party', 'pymock')
tests = input_api.canned_checks.GetPylint(
- input_api, output_api, extra_paths_list=[telemetry_path])
+ input_api, output_api, extra_paths_list=[telemetry_path, mock_path])
return input_api.RunTests(tests)
+
« no previous file with comments | « no previous file | tools/auto_bisect/bisect_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698