RESOLVED INVALID 165682
[iOS] run-webkit-tests should install DRT/WKTR on mismatched existing simulator instance
https://bugs.webkit.org/show_bug.cgi?id=165682
Summary [iOS] run-webkit-tests should install DRT/WKTR on mismatched existing simulat...
Daniel Bates
Reported 2016-12-09 13:58:22 PST
Today I had Simulator.app open simulating an iPhone 6s and ran run-webkit-tests --ios-simulator to run a test in the iOS Simulator. The test failed to run because DRT/WKTR were not installed in the simulator device. I know that run-webkit-tests warned "Expected simulator of type 'iPhone 5s' but found simulator of type 'iPhone 6s' \\ The next block of tests may fail due to device mis-match", but I was under the impression that this warning was to inform a person that a test may fail due to device differences (e.g. viewport size differences) as opposed to fail to run because DRT/WKTR were not going to be installed by run-webkit-tests.
Attachments
Daniel Bates
Comment 1 2016-12-09 14:11:34 PST
Actually, LayoutTestRelay is not installing DRT/WKTR.
Jonathan Bedard
Comment 2 2016-12-09 14:13:42 PST
You're correct, the apps should have been automatically installed by LayoutTestRelay, in all of my testing, this wasn't ever an issue. Let me see if I can reproduce this behavior locally. Do you have any error output from LayoutTestRelay?
Jonathan Bedard
Comment 3 2016-12-09 14:26:27 PST
My suspicion here is that the simulator is running an SDK different from the one DumpRenderTree/WebKitTestRunnerApp is being built for, I was able to reproduce an issue locally which sounds like the one you were describing. I observed the app being installed on the simulator and then the app crashing on launch, is that what you're seeing?
Daniel Bates
Comment 4 2016-12-12 09:15:02 PST
(In reply to comment #3) > My suspicion here is that the simulator is running an SDK different from the > one DumpRenderTree/WebKitTestRunnerApp is being built for I built DRT/WKTR with the same SDK that is associated with the Simulator.app installed on my system. > [...] > I observed the app being installed on the simulator and then the app crashing > on launch, is that what you're seeing? No, as I mentioned in comment 1, I am not seeing DRT/WKTR being installed in the simulator; => test crashes.
Daniel Bates
Comment 5 2016-12-12 09:19:22 PST
The issue I ran into is an internal issue, <rdar://problem/29603499>. Closing this bug as Resolved Invalid. With regards to the behavior described by Jonathan Bedard in comment 3, "I observed the app being installed on the simulator and then the app crashing on launch", we should file a new bug for this.
Note You need to log in before you can comment on or make changes to this bug.