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

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

Issue 1177593002: Add swarming support for MB (and the GN bots) in the chromium recipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge patchset #3 to r295696 (no other changes) 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 917049908d09852655d19d6ebfc3641baffe47bf..1b286ee8cf3a628c37afe9dde04ae1af49733de6 100644
--- a/scripts/slave/recipes/chromium.py
+++ b/scripts/slave/recipes/chromium.py
@@ -32,11 +32,15 @@ def GenSteps(api):
api.chromium_tests.configure_build(mastername, buildername)
update_step, master_dict, test_spec = \
api.chromium_tests.prepare_checkout(mastername, buildername)
- api.chromium_tests.compile(mastername, buildername, update_step, master_dict,
- test_spec)
+
tests = api.chromium_tests.tests_for_builder(
mastername, buildername, update_step, master_dict)
+ api.chromium.run_mb_if_necessary(mastername, buildername, tests)
+
+ api.chromium_tests.compile(mastername, buildername, update_step, master_dict,
+ test_spec)
+
if not tests:
return

Powered by Google App Engine
This is Rietveld 408576698