summaryrefslogtreecommitdiff
path: root/android/scripts/glmark2/glmark2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'android/scripts/glmark2/glmark2.sh')
-rwxr-xr-xandroid/scripts/glmark2/glmark2.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/android/scripts/glmark2/glmark2.sh b/android/scripts/glmark2/glmark2.sh
index 8b02068..d297d02 100755
--- a/android/scripts/glmark2/glmark2.sh
+++ b/android/scripts/glmark2/glmark2.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/system/bin/sh
#
# glmark2 test.
#
@@ -21,11 +21,7 @@
# Author: Senthil Kumaran <senthil.kumaran@linaro.org>
#
-function main(){
- logcat -c
- shell am start -W org.linaro.glmark2/.Glmark2Activity
- python ./glmark2_wait.py
- logcat -d
-}
-
-main "$@"
+logcat -c
+am start -W org.linaro.glmark2/.Glmark2Activity
+./glmark2/glmark2_wait.py
+logcat -d