summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2015-11-20 10:25:31 -0600
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2015-12-02 10:40:27 +0000
commit0b4d7d6722dd97b59aa5931ee23bf3b86c9fe40d (patch)
tree1bd08d452af3e696ed526b76d7d1ffc4d4c62b2f
parentdd82984c32fcb8f7caf980727e203fcb3b29f8b1 (diff)
Android: Generalize art-microbenchmarks for N9/N5X.
Because Nexus 5X is introduced, so is the configuration script for benchmarks. Change-Id: I728ce64eb2304216f4a3c0bfa426cec08f4e1099 Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
-rw-r--r--android/art-microbenchmarks.yaml2
-rwxr-xr-xandroid/scripts/configure-nexus5x-for-benchmarks.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/android/art-microbenchmarks.yaml b/android/art-microbenchmarks.yaml
index fc01f2a..4cc647e 100644
--- a/android/art-microbenchmarks.yaml
+++ b/android/art-microbenchmarks.yaml
@@ -1,7 +1,7 @@
metadata:
name: art-microbenchmarks
format: "Lava-Test-Shell Test Definition 1.0"
- description: "The script configures the nexus9 for low variance and runs the test"
+ description: "The script configures the Nexus 9 and 5X for low variance and runs the test"
maintainer:
- vishal.bhoj@linaro.org
os:
diff --git a/android/scripts/configure-nexus5x-for-benchmarks.sh b/android/scripts/configure-nexus5x-for-benchmarks.sh
new file mode 100755
index 0000000..ac64939
--- /dev/null
+++ b/android/scripts/configure-nexus5x-for-benchmarks.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "configuring Nexus5X on: $IPADDR"
+adb -s $IPADDR wait-for-device
+adb -s $IPADDR shell stop