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

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

Issue 2229183002: Use iossim/test-without-building for Earlgrey tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Use iossim/test-without-building for Earlgrey tests. 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/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']

Powered by Google App Engine
This is Rietveld 408576698