aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
diff options
context:
space:
mode:
authorGravatar stephana <stephana@google.com>2015-10-16 11:47:37 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-16 11:47:37 -0700
commit5b8faf7c7c2b7e37665e3ed9262a29e0b3aec5af (patch)
tree4d9421bad27d064e9d809835c6caa80800330c09 /site
parent9a70b6ef59c38f3cbe6646aed624f22155326d05 (diff)
Add docs on how to install iOS test tools
BUG=skia: NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1413653002 Review URL: https://codereview.chromium.org/1413653002
Diffstat (limited to 'site')
-rw-r--r--site/dev/testing/ios.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/site/dev/testing/ios.md b/site/dev/testing/ios.md
new file mode 100644
index 0000000000..e6535e17ea
--- /dev/null
+++ b/site/dev/testing/ios.md
@@ -0,0 +1,39 @@
+Testing on iOS
+==============
+Before setting Skia up for automated testing from the command line, please
+follow the instructions to run Skia tests (*dm*, *nano-bench*) with the
+mainstream iOS tool chain. See the [quick start guide for ios](../../user/quick/ios).
+
+iOS doesn't lend itself well to compiling and running from the command line.
+Below are instructions on how to install a set of tools that make this possible.
+To see how they are used in automated testing please see the bash scripts
+used by the buildbot recipes: <https://github.com/google/skia/tree/master/platform_tools/ios/bin>.
+
+Installation
+------------
+The key tools are
+
+* libimobiledevice <http://www.libimobiledevice.org/>, <https://github.com/libimobiledevice/libimobiledevice>
+
+* ios-deploy <https://github.com/phonegap/ios-deploy>
+
+Follow these steps to install them:
+
+* Install Brew at <http://brew.sh/>
+* Install *libimobiledevice*
+ (Note: All these are part of the *libimobiledevice* project but packaged/developed
+ under different names. The *cask* extension to *brew* is necessary to install
+ *osxfuse* and *ifuse*, which allows to mount the application directory on an iOS device).
+```
+brew install libimobiledevice
+brew install ideviceinstaller
+brew install caskroom/cask/brew-cask
+brew install Caskroom/cask/osxfuse
+brew install ifuse
+```
+* Install node.js and ios-deploy
+```
+$ brew update
+$ brew install node
+$ npm install ios-deploy
+```