Commit 28ed2aa6 authored by Jeff Yoon's avatar Jeff Yoon Committed by Commit Bot

[ios] pass xctest for iOS unit tests

Passing xctest to the iOS test runner (run.py) for unittests to run with
the xc test runner object. This requires the GN argument
enable_run_ios_unittests_with_xctest to be True.

Bug: 1001667
Change-Id: Ib7f14c5835dbe4a116f11074646704bee8754d02
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2314134Reviewed-by: default avatarTakuto Ikuta <tikuta@chromium.org>
Commit-Queue: Jeff Yoon <jeffyoon@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791954}
parent 2d283704
...@@ -274,6 +274,10 @@ template("test") { ...@@ -274,6 +274,10 @@ template("test") {
"@WrappedPath(${_root_build_dir}/${_test_target}.app)", "@WrappedPath(${_root_build_dir}/${_test_target}.app)",
] ]
if (enable_run_ios_unittests_with_xctest) {
executable_args += [ "--xctest" ]
}
wrapper_output_name = "${_wrapper_output_name}" wrapper_output_name = "${_wrapper_output_name}"
} }
......
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