skia2/platform_tools/ios/bin/ios_run_skia
borenet b0070197ff More iOS swarming bot fixes
- Copy the packaged app into xcodebuild/...
- Isolate ios/bin directory

BUG=skia:5155
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1860333002

Review URL: https://codereview.chromium.org/1860333002
2016-04-06 11:38:55 -07:00

21 lines
669 B
Bash
Executable File

#!/bin/bash
###############################################################################
# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
###############################################################################
#
# ios_run_skia: starts the correct skia program on the device, prints the
# output, and kills the app if interrupted.
set -x -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $SCRIPT_DIR/ios_setup.sh
# Run the application.
IOS_DEPLOY_ARGS="${IOS_OUT}/iOSShell.app --args \"${*}\""
CMD="ios-deploy -I -m -b ${IOS_DEPLOY_ARGS}"
eval $CMD