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

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

Issue 1185693002: Move builders.py and steps.py to chromium_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Add builders property to chromium_tests test_api. Created 5 years, 6 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/chromium.py
diff --git a/scripts/slave/recipes/chromium.py b/scripts/slave/recipes/chromium.py
index 06c824e1d9f9a62e1493676d5b4d8e7a90b4fedd..ba815479da318bf8fa56fb847cea6f8fe27045e4 100644
--- a/scripts/slave/recipes/chromium.py
+++ b/scripts/slave/recipes/chromium.py
@@ -24,6 +24,7 @@ DEPS = [
def GenSteps(api):
mastername = api.properties.get('mastername')
buildername = api.properties.get('buildername')
+ api.chromium_tests.load_builder_configs(mastername)
if mastername == 'tryserver.chromium.perf' and api.chromium.builders[
mastername]['builders'][buildername]['bot_type'] == 'tester':
@@ -52,7 +53,8 @@ def _sanitize_nonalpha(text):
def GenTests(api):
- for mastername, master_config in api.chromium.builders.iteritems():
+ # TODO(akuegel): Filter out those masters that are not using this recipe.
Paweł Hajdan Jr. 2015/06/15 09:09:29 Well, I'd say these masters just shouldn't be in c
Adrian Kuegel 2015/06/15 12:33:22 Acknowledged. I removed this TODO.
+ for mastername, master_config in api.chromium_tests.builders.iteritems():
# parent builder name -> list of triggered builders.
triggered_by_parent = {}

Powered by Google App Engine
This is Rietveld 408576698