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 09f0615bd6d33ef4dd2805d0f7a18c7fc38c1919..4a4aaa7da12724e49cc0181b7975949aa06334b4 100644 |
--- a/scripts/slave/recipe_modules/ios/api.py |
+++ b/scripts/slave/recipe_modules/ios/api.py |
@@ -398,9 +398,12 @@ class iOSApi(recipe_api.RecipeApi): |
] |
if test.get('xctest'): |
cmd.extend([ |
- '--test-host', test['app'], |
- '--dummyproj', self.package_repo_resource( |
- 'scripts', 'slave', 'ios', 'TestProject', 'TestProject.xcodeproj'), |
+ '--xctest', self.m.path.join( |
+ self.most_recent_app_dir, |
+ '%s.app' % test['app'], |
+ 'PlugIns', |
+ '%s.xctest' % test['xctest'], |
+ ), |
]) |
step_name = test['app'] |