summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStevan Radakovic <stevan.radakovic@linaro.org>2018-04-23 10:58:36 +0200
committerStevan Radakovic <stevan.radakovic@linaro.org>2018-04-23 10:58:36 +0200
commit14252de1b0c23c461a98bf046e0710217a4f86e3 (patch)
tree7aaa748bf196588739b356df359db0cd76ee9be1
parent371c72a30998528bdb3ef03aeaa99487ebe7a143 (diff)
Add a lxc test.
-rw-r--r--lava-android-benchmark-lxc.yaml41
1 files changed, 41 insertions, 0 deletions
diff --git a/lava-android-benchmark-lxc.yaml b/lava-android-benchmark-lxc.yaml
new file mode 100644
index 0000000..7b9ca8b
--- /dev/null
+++ b/lava-android-benchmark-lxc.yaml
@@ -0,0 +1,41 @@
+metadata:
+ name: lava-android-benchmark-lxc
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "LXC android benchmarking"
+ maintainer:
+ - neil.williams@linaro.org
+ os:
+ - android
+ scope:
+ - performance
+ devices:
+ - lxc
+ - hi6220-hikey
+
+install:
+ git-repos:
+ - https://github.com/mwasilew/AndroidViewClient.git
+ steps:
+ - cd AndroidViewClient/
+ - python setup.py install
+
+params:
+ TEST_NAME: "geekbench"
+ APP_CONFIG_LIST: ""
+ LOOP_COUNT: 13
+ COLLECT_STREAMLINE: "false"
+ RECORD_CSV: "TRUE"
+ RECORD_STATISTICS: "TRUE"
+ VERBOSE_OUTPUT: "FALSE"
+
+run:
+ steps:
+ - apt-get update -q
+ - DEBIAN_FRONTEND=noninteractive lava-test-case install-base --shell apt-get -q -y install -o Dpkg::Options::="--force-confold" wget git python-lxml python-pil python-setuptools
+ - ./scripts/make-adb-connection.sh
+ - ANDROID_SERIAL=`cat adb-connection.txt`
+ - rm adb-connection.txt
+ - adb shell id
+ - cd android
+ - ./$TEST_NAME/execute.sh --serial $ANDROID_SERIAL --loop-count "$LOOP_COUNT" --streamline "$COLLECT_STREAMLINE" --verbose-output $VERBOSE_OUTPUT --record-statistics $RECORD_STATISTICS --record-csv $RECORD_CSV
+ - cd ..