-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add optional parameter of product_module_name #50
base: master
Are you sure you want to change the base?
Conversation
test_runner/ios_test_runner.py
Outdated
@@ -172,6 +174,11 @@ def _Test(args): | |||
help='The platform of the device. The value can be ios_device or ' | |||
'ios_simulator.' | |||
) | |||
optional_arguments.add_argument( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dostrander I tested this out a bit today, and I think you might want to add the argument to the other case. That looks like it's failing the rules_apple
PR:
bazelbuild/rules_apple#1785
I added this into our rules_apple and xctestrunner fork for the reference of what I did in an attempt to fix: bazel-ios@52bdfe3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+++ b/test_runner/ios_test_runner.py
@@ -247,6 +247,11 @@ def _AddSimulatorTestSubParser(subparsers):
'prefix with simulator type and os version. '
'E.g., New-iPhone 6 Plus-10.2.')
test_parser.set_defaults(func=_SimulatorTest)
+ optional_arguments = test_parser.add_argument_group('Optional arguments')
+ optional_arguments.add_argument(
+ '--product_module_name',
+ help='The product module name that will be set in the xctestrun file.'
+ )
7849b77
to
bd28707
Compare
This will be forwarded into the xctestrun file in the test name doesn't accurately reflect the module underneath
bd28707
to
9fa3cb8
Compare
This will be forwarded into the xctestrun file in the test name doesn't accurately reflect the module underneath