summaryrefslogtreecommitdiff
path: root/lava-android-benchmark-lxc.yaml
blob: 7b9ca8b563385493e560cdb09e454222b66dffd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 ..