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

Unified Diff: scripts/slave/recipes/findit/chromium/compile.py

Issue 1565113003: Add concept of bot config and test spec database (BotConfigAndTestDB). (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 11 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
Index: scripts/slave/recipes/findit/chromium/compile.py
diff --git a/scripts/slave/recipes/findit/chromium/compile.py b/scripts/slave/recipes/findit/chromium/compile.py
index 67f1d4c32f226e869ad0b16485cfc30ccc6f1115..69a0e80d4f2b08a086527c600858fbc727954dab 100644
--- a/scripts/slave/recipes/findit/chromium/compile.py
+++ b/scripts/slave/recipes/findit/chromium/compile.py
@@ -50,7 +50,7 @@ def _run_compile_at_revision(api, target_mastername, target_buildername,
revision, compile_targets, use_analyze):
with api.step.nest('test %s' % str(revision)):
# Checkout code at the given revision to recompile.
- bot_update_step, master_dict, test_spec = \
+ bot_update_step, bot_db = \
api.chromium_tests.prepare_checkout(
target_mastername,
target_buildername,
@@ -64,8 +64,7 @@ def _run_compile_at_revision(api, target_mastername, target_buildername,
compile_targets, _ = api.chromium_tests.get_compile_targets_and_tests(
target_mastername,
target_buildername,
- master_dict,
- test_spec,
+ bot_db,
override_bot_type='builder_tester')
if use_analyze:
@@ -89,7 +88,7 @@ def _run_compile_at_revision(api, target_mastername, target_buildername,
target_mastername,
target_buildername,
bot_update_step,
- master_dict,
+ bot_db,
compile_targets,
tests_including_triggered=[],
mb_mastername=target_mastername,

Powered by Google App Engine
This is Rietveld 408576698