diff options
author | stephana <stephana@chromium.org> | 2015-05-05 07:55:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-05 07:55:06 -0700 |
commit | deee2980f41cb9586bb7a596cf99d25775f7c698 (patch) | |
tree | cb90d17de32a90fb473aec5fdbbb71c82d1f5b4a /platform_tools/ios/bin/ios_run_skia | |
parent | 7d3bdc3aa53ef953318db2611c51e0eef4ee4214 (diff) |
cleanup
BUG=skia:
Review URL: https://codereview.chromium.org/1085583006
Diffstat (limited to 'platform_tools/ios/bin/ios_run_skia')
-rwxr-xr-x | platform_tools/ios/bin/ios_run_skia | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/platform_tools/ios/bin/ios_run_skia b/platform_tools/ios/bin/ios_run_skia index bdeaece9d7..248593a66e 100755 --- a/platform_tools/ios/bin/ios_run_skia +++ b/platform_tools/ios/bin/ios_run_skia @@ -9,18 +9,12 @@ # 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 -# (Re-)Install the app to create the necessary directories. -ios_uninstall_app -ios_install_app - -# Move the resources to the Documents forlder of the iOS device. -# Note: The iOSShell app expects 'resources' in the Documents folder. -ios_push "${SKIA_SRC_DIR}/resources" "" - -# Run the application. -ios-deploy -I -m -b "$SKIA_SRC_DIR/xcodebuild/${BUILDTYPE}-iphoneos/iOSShell.app --args '""$ARGS""'" - -#ios-deploy -I -m -b "$SKIA_SRC_DIR/xcodebuild/${BUILDTYPE}-iphoneos/iOSShell.app --args '""$ARGS""'-v --writePath results --dm --nogpu --threads 0 --src gm tests --config 8888 --match ~Threaded ~Math ~VarAlloc' +# Run the application. +IOS_DEPLOY_ARGS="${SKIA_SRC_DIR}/xcodebuild/${BUILDTYPE}-iphoneos/iOSShell.app --args \"${*}\"" +CMD="ios-deploy -I -m -b ${IOS_DEPLOY_ARGS}" +eval $CMD |