diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-10-15 14:08:13 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-10-15 14:08:13 +0100 |
commit | b49bfcd40ca22c39ca7c58caf5f397b330e6720c (patch) | |
tree | bab071f78f8f2f7d527750c6ca15a11a440cf0c6 /android | |
parent | 2c942c14c6afb7556d9b1caa389ef2bd07949bb3 (diff) |
Android: Fixed ART microbenchmarks host side
Environment variables were not available inside configure script. Adding
'.' before script call fixes the issue.
Change-Id: I9ee56b5fced142ffbcae23f5f88d947425bf4652
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Diffstat (limited to 'android')
-rw-r--r-- | android/art-microbenchmarks.yaml | 2 | ||||
-rwxr-xr-x | android/scripts/configure-nexus9-for-benchmarks.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/android/art-microbenchmarks.yaml b/android/art-microbenchmarks.yaml index 7859aa2..b3d903d 100644 --- a/android/art-microbenchmarks.yaml +++ b/android/art-microbenchmarks.yaml @@ -39,7 +39,7 @@ run: - IPADDR=`awk -F '=' '{print $2}' /tmp/lava_multi_node_cache.txt` - if [ $IPADDR != "_MISSING_" ] - then - - ./android/scripts/configure-$TARGET_DEVICE-for-benchmarks.sh + - . ./android/scripts/configure-$TARGET_DEVICE-for-benchmarks.sh - ./art-testing/run.py -t $IPADDR --iterations $ITERATIONS --mode $MODE | tee logs.txt - ./android/scripts/parse-ubenchmarks-results.sh art-testing/benchmarking/java-ubenchs/logs.txt - lava-test-run-attach res.*.pkl diff --git a/android/scripts/configure-nexus9-for-benchmarks.sh b/android/scripts/configure-nexus9-for-benchmarks.sh index d32c039..977cb79 100755 --- a/android/scripts/configure-nexus9-for-benchmarks.sh +++ b/android/scripts/configure-nexus9-for-benchmarks.sh @@ -1,3 +1,5 @@ +#!/bin/bash +echo "configuring Nexus9 on: $IPADDR" adb -s $IPADDR wait-for-device adb -s $IPADDR shell stop adb -s $IPADDR shell "echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" |