summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@linaro.org>2016-09-29 00:00:24 +0000
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2016-09-29 00:00:24 +0000
commit74a5f348241a9fa90c6ed3bd0d1618edada1f493 (patch)
tree30d5ec05fcef5cae53f770932d1cea00e01f8c01 /android
parent210276a0fe8462dbe328fefb3677d545d6eef17f (diff)
Revert "android bionic-benchmarks.sh: update to find the correct path"
This reverts commit 210276a0fe8462dbe328fefb3677d545d6eef17f. Change-Id: If77e2a80438dd5c1a15f8115afa083b81fc7f609
Diffstat (limited to 'android')
-rwxr-xr-xandroid/scripts/bionic-benchmarks.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/android/scripts/bionic-benchmarks.sh b/android/scripts/bionic-benchmarks.sh
index 6b01145..252bb4a 100755
--- a/android/scripts/bionic-benchmarks.sh
+++ b/android/scripts/bionic-benchmarks.sh
@@ -6,16 +6,11 @@ local_file_parent=$(cd $(dirname ${local_file_path}); pwd)
test_bionic_benchmark(){
local arch=$1
- local cmd=""
- if [ "X$arch" != "X32" ]; then
- cmd="/data/benchmarktest/bionic-benchmarks/bionic-benchmarks32"
- elif [ "X$arch" != "X64" ]; then
- cmd="/data/benchmarktest64/bionic-benchmarks/bionic-benchmarks64"
- else
+ if [ "X$arch" != "X32" ] && [ "X$arch" != "X64" ]; then
echo "The specified $arch is not specified!"
return
fi
- chmod +x ${cmd}
+ local cmd="bionic-benchmarks${arch}"
if [ -n "$(which ${cmd})" ]; then
for res_line in $(${cmd}|grep "BM_"|tr -s ' '|tr ' ' ','); do
local key=$(echo $res_line|cut -d, -f1|tr '/' '_')