aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android/bin/android_run_skia
diff options
context:
space:
mode:
authorGravatar qiankun.miao <qiankun.miao@intel.com>2014-06-06 06:43:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-06 06:43:46 -0700
commit5102345029be75f089e083228e317545627ea1cb (patch)
tree2a27727d67e0547f1ecefc95345cdd86462ac769 /platform_tools/android/bin/android_run_skia
parentf9dae780c2c46a1f08adbbe8de2faaba091254d4 (diff)
Fix android_run_skia script running with command line options
This script cannot recognize command line options when running bench: e.g. android_run_skia bench --config 8888. BUG=skia: R=mtklein@google.com, djsollen@google.com Author: qiankun.miao@intel.com Review URL: https://codereview.chromium.org/314903003
Diffstat (limited to 'platform_tools/android/bin/android_run_skia')
-rwxr-xr-xplatform_tools/android/bin/android_run_skia2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform_tools/android/bin/android_run_skia b/platform_tools/android/bin/android_run_skia
index 7bc9671b89..7176fd2c36 100755
--- a/platform_tools/android/bin/android_run_skia
+++ b/platform_tools/android/bin/android_run_skia
@@ -22,7 +22,7 @@ adb_push_if_needed "${SKIA_OUT}/$BUILDTYPE/lib/lib${APP_ARGS[0]}.so" /data/local
STATUS_FILENAME="/data/local/tmp/.skia_tmp_$(date +%s%N)"
$ADB ${DEVICE_SERIAL} shell \
- "/data/local/tmp/skia_launcher ${APP_ARGS[@]}; echo \$? > ${STATUS_FILENAME}"
+ "/data/local/tmp/skia_launcher ${APP_ARGS[*]}; echo \$? > ${STATUS_FILENAME}"
if [ -z "$($ADB $DEVICE_SERIAL shell 'if [ -f $STATUS_FILENAME ]; then echo exists; fi')" ]; then
echo "***********************************************************************"
echo "The application terminated unexpectedly and did not produce an exit code"