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

Unified Diff: scripts/slave/ios/run.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
« no previous file with comments | « no previous file | scripts/slave/ios/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/ios/run.py
diff --git a/scripts/slave/ios/run.py b/scripts/slave/ios/run.py
index 0d4f55534cfa8cd83565a0b9fcadc1cd735f9117..7e70a1a0f5d634017ea6d19d30c09c4dcee6942a 100755
--- a/scripts/slave/ios/run.py
+++ b/scripts/slave/ios/run.py
@@ -32,11 +32,11 @@ def main(args, test_args):
test_runner = None
try:
- if args.test_host:
+ if args.xctest:
test_runner = SimulatorXCTestRunner(
args.app,
- args.test_host,
- args.dummyproj,
+ args.xctest,
+ args.iossim,
args.platform,
args.version,
env_vars=args.env_var,
@@ -130,13 +130,6 @@ if __name__ == '__main__':
type=str,
)
parser.add_argument(
- '-t',
- '--test-host',
- help='Compiled test host to run tests.',
- metavar='host',
- type=str,
- )
- parser.add_argument(
'-v',
'--version',
help='Version of iOS the simulator should run.',
@@ -145,10 +138,23 @@ if __name__ == '__main__':
type=str,
)
parser.add_argument(
+ '--xcodeproj',
+ help='Xcode project to run tests on.',
+ metavar='proj',
+ type=str,
+ )
smut 2016/08/09 23:54:54 Where is this used?
huangml1 2016/08/09 23:58:23 This is used for the DeviceXCTestRunner. The devi
smut 2016/08/10 00:03:55 The run.py called downstream is not the same as th
+ parser.add_argument(
'-x',
'--xcode-version',
help='Version of Xcode to use.',
metavar='ver',
type=str,
)
+ parser.add_argument(
+ '--xctest',
+ help='Compiled xctest to run.',
+ metavar='xctest',
+ type=str,
+ )
+
sys.exit(main(*parser.parse_known_args()))
« no previous file with comments | « no previous file | scripts/slave/ios/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698