| Summary: | [iOS] Run ImageDiff in the sim bootstrap | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | David Farler <dfarler> | ||||||
| Component: | Tools / Tests | Assignee: | David Farler <dfarler> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | commit-queue, dbates, ddkilzer, glenn, simon.fraser | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | iPhone / iPad | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
|
Description
David Farler
2014-08-05 15:14:14 PDT
Created attachment 236050 [details]
Patch
Created attachment 236054 [details]
Patch
Sorry - uploaded a different patch to the same bug - reinstated original. What does it mean to "run in the bootstrap"? Do you mean run in the simulated device? Sort of, although not in a real SimDevice. It’s just wrapped in `xcrun -sdk iphonesimulator sim`. It has the bare minimum bootstrap to run a simulator binary but doesn’t have access to to other simulator services like the framebuffer, etc. It works in this case because it’s not a full UIKit application. (In reply to comment #4) > What does it mean to "run in the bootstrap"? Do you mean run in the simulated device? It means that ImageDiff runs in the simulator environment, but not as an app in SpringBoard. In other words, it uses simulator frameworks instead of Mac OS X frameworks to run on the command line. Comment on attachment 236050 [details]
Patch
r=me
Committed r172118: <http://trac.webkit.org/changeset/172118> |