Commit 09fe5eca authored by Vaclav Brozek's avatar Vaclav Brozek Committed by Commit Bot

Add passing test arguments to docs/ios/build_instructions.md

This CL mentions iossim's -c option for passing aruments to the test app in the
iOS build instructions.

Bug: None
Change-Id: I80ccddb56e142b547117297ae0fdb85e2b8d63f3
Reviewed-on: https://chromium-review.googlesource.com/575047
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487441}
parent 1c51b4bc
......@@ -226,6 +226,17 @@ command line, you can use `iossim`. For example, to run a debug build of
$ out/Debug-iphonesimulator/iossim out/Debug-iphonesimulator/Chromium.app
```
### Passing arguments
Arguments needed to be passed to the test application through `iossim`, such as
`--gtest_filter=SomeTest.FooBar` should be passed through the `-c` flag:
```shell
$ out/Debug-iphonesimulator/iossim -d "iPhone 6s" -s 10.0 \
-c "--gtest_filter=SomeTest.FooBar --gtest_repeat=3" \
out/Debug-iphonesimulator/base_unittests.app
```
### Running EarlGrey tests
EarlGrey tests are run differently than other test targets, as there is an
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment