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, |