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

Unified Diff: scripts/slave/recipes/findit/chromium/test.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/test.py
diff --git a/scripts/slave/recipes/findit/chromium/test.py b/scripts/slave/recipes/findit/chromium/test.py
index ba98cdf2ab4a164e4af67eeee3a3e123ff786008..dd17484148bd7e75a50019f46c5a4a6be087e6f2 100644
--- a/scripts/slave/recipes/findit/chromium/test.py
+++ b/scripts/slave/recipes/findit/chromium/test.py
@@ -62,7 +62,7 @@ def _compile_and_test_at_revision(api, target_mastername, target_buildername,
results = {}
with api.step.nest('test %s' % str(revision)):
# Checkout code at the given revision to recompile.
- bot_update_step, master_dict, _ = \
+ bot_update_step, bot_db = \
api.chromium_tests.prepare_checkout(
target_mastername,
target_buildername,
@@ -73,7 +73,7 @@ def _compile_and_test_at_revision(api, target_mastername, target_buildername,
target_mastername,
target_testername, # If not tester, this is same as target_buildername.
bot_update_step,
- master_dict,
+ bot_db,
override_bot_type='builder_tester')
tests_to_run = [test for test in all_tests if test.name in requested_tests]
@@ -89,7 +89,7 @@ def _compile_and_test_at_revision(api, target_mastername, target_buildername,
target_mastername,
target_buildername,
bot_update_step,
- master_dict,
+ bot_db,
compile_targets,
tests_including_triggered=tests_to_run,
mb_mastername=target_mastername,

Powered by Google App Engine
This is Rietveld 408576698