New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 603607 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Bug



Sign in to add a comment

Make Earl Grey tests work on the web shell with Xcode 7.3

Project Member Reported by baxley@chromium.org, Apr 14 2016

Issue description

The Earl Grey test suite fails to run with Xcode 7.3.

With Xcode 7.3, the .xctest file now lives inside a 'PlugIns' directory inside the host application. In Xcode 7.2 and earlier the .xctest lived next to the host application in the build output directory.

Additionally, Xcode tries to launch the test from src/build, rather than the build output directory (e.g. out/Debug-iphonesimulator).

Manually copying the built ios_web_shell_test.xctest into ios_web_shell.app/PlugIns, and moving ios_web_shell.app into src/build allows Xcode to successfully launch and run the tests.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 18 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/07d034d2a7c0312be036904c3e9c4f23f68193c1

commit 07d034d2a7c0312be036904c3e9c4f23f68193c1
Author: justincohen <justincohen@chromium.org>
Date: Mon Apr 18 14:51:02 2016

Allow xctests to embed themselves in their TEST_HOST for Xcode 7.3 support.

BUG= 603607 

Review URL: https://codereview.chromium.org/1891583003

Cr-Commit-Position: refs/heads/master@{#387904}

[modify] https://crrev.com/07d034d2a7c0312be036904c3e9c4f23f68193c1/ios/web/ios_web_shell_tests.gyp

Cc: -carusom@chromium.org

Comment 3 by baxley@chromium.org, Oct 21 2016

Status: Fixed (was: Started)
Has been working for Xcode 8.

Sign in to add a comment