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

Unified Diff: scripts/slave/recipe_modules/ios/api.py

Issue 2446843002: Reland "Support xctests" (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/ios/example.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/ios/api.py
diff --git a/scripts/slave/recipe_modules/ios/api.py b/scripts/slave/recipe_modules/ios/api.py
index bad516a79f92afd2948788405187d7fdd018f11b..50251bcb85cd98edbfd3f13593b24f4360e65e80 100644
--- a/scripts/slave/recipe_modules/ios/api.py
+++ b/scripts/slave/recipe_modules/ios/api.py
@@ -481,6 +481,7 @@ class iOSApi(recipe_api.RecipeApi):
cmd = [
'src/ios/build/bots/scripts/run.py',
'--app', '<(app_path)',
+ '--args-json', '{"xctest": <(xctest)}',
'--out-dir', '${ISOLATED_OUTDIR}',
'--xcode-version', '<(xcode_version)',
]
@@ -544,6 +545,8 @@ class iOSApi(recipe_api.RecipeApi):
'--config-variable', 'app_path', app_path,
'--config-variable', 'xcode_version', test.get(
'xcode version', self.__config['xcode version']),
+ '--config-variable', 'xctest', (
+ 'true' if test.get('xctest') else 'false'),
'--isolate', isolate_template,
'--isolated', tmp_dir.join('%s.isolated' % test['id']),
'--path-variable', 'app_path', app_path,
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/ios/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698