Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Unified Diff: platform_tools/ios/bin/ios_run_skia

Issue 1085583006: iOS platform scripts to be used by buildbots (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Removed trailing white spaces Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « platform_tools/ios/bin/ios_rmdir ('k') | platform_tools/ios/bin/ios_setup.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/ios/bin/ios_run_skia
diff --git a/platform_tools/ios/bin/ios_run_skia b/platform_tools/ios/bin/ios_run_skia
index bdeaece9d7e071503984d25065de1fb48a0daf7e..248593a66eb22262342ba711c4548c0b6af67b60 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
« no previous file with comments | « platform_tools/ios/bin/ios_rmdir ('k') | platform_tools/ios/bin/ios_setup.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698