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

Unified Diff: scripts/slave/recipes/webrtc/ios_api_framework.py

Issue 2226283002: webrtc: prepare for running under remote_run (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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/webrtc/ios_api_framework.py
diff --git a/scripts/slave/recipes/webrtc/ios_api_framework.py b/scripts/slave/recipes/webrtc/ios_api_framework.py
index 17de6d833cb06b4a373286761b6ac34fdb178797..a62a82bb52b124fd309573b9b32e86dc4376d6ce 100644
--- a/scripts/slave/recipes/webrtc/ios_api_framework.py
+++ b/scripts/slave/recipes/webrtc/ios_api_framework.py
@@ -4,6 +4,7 @@
DEPS = [
'archive',
+ 'chromium_tests',
'commit_position',
'depot_tools/bot_update',
'depot_tools/gclient',
@@ -23,7 +24,13 @@ def RunSteps(api):
api.gclient.set_config('webrtc_ios')
api.ios.host_info()
- update_step = api.bot_update.ensure_checkout()
+
+ checkout_kwargs = {}
+ checkout_dir = api.chromium_tests.get_checkout_dir({})
+ if checkout_dir:
+ checkout_kwargs['cwd'] = checkout_dir
+ update_step = api.bot_update.ensure_checkout(**checkout_kwargs)
+
revs = update_step.presentation.properties
commit_pos = api.commit_position.parse_revision(revs['got_revision_cp'])
api.gclient.runhooks()
@@ -56,18 +63,21 @@ def GenTests(api):
yield (
api.test('build_ok') +
api.properties.generic(mastername='client.webrtc',
- buildername='iOS API Framework Builder')
+ buildername='iOS API Framework Builder',
+ path_config='kitchen')
)
yield (
api.test('build_failure') +
api.properties.generic(mastername='client.webrtc',
- buildername='iOS API Framework Builder') +
+ buildername='iOS API Framework Builder',
+ path_config='kitchen') +
api.step_data('build', retcode=1)
)
yield (
api.test('trybot_build') +
api.properties.tryserver(mastername='tryserver.webrtc',
- buildername='ios_api_framework')
+ buildername='ios_api_framework',
+ path_config='kitchen')
)

Powered by Google App Engine
This is Rietveld 408576698