summaryrefslogtreecommitdiff
path: root/android/art-microbenchmarks.yaml
blob: d2f368eced2af763ea4917b8ce8d09b1632844b5 (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
42
43
44
45
46
47
48
49
50
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"
    maintainer:
        - vishal.bhoj@linaro.org
    os:
        - ubuntu
    devices:
        - kvm
    scope:
        - perfomance

install:
    git-repos:
        - http://android-git.linaro.org/git/linaro/art-testing.git
    deps:
        - android-tools-adb
        - android-tools-fastboot
        - libc6:i386
        - libncurses5:i386
        - libstdc++6:i386
    steps:
        - apt-get install -y $JDK $JRE
        - wget http://mirrors.kernel.org/ubuntu/pool/multiverse/g/google-android-build-tools-installer/google-android-build-tools-installer_20.0.0.2_i386.deb
        - dpkg -i google-android-build-tools-installer_20.0.0.2_i386.deb

params:
    JDK: "default-jdk"
    JRE: "default-jre"
    TEST_NAME: "art-test"
    TARGET_DEVICE: "nexus9"
    ITERATIONS: 10
    MODE: 64

run:
    steps:
        - lava-wait $TEST_NAME-send-ip
        - IPADDR=`awk -F '=' '{print $2}' /tmp/lava_multi_node_cache.txt`
        - if [ $IPADDR != "_MISSING_" ]
        - then
        - ./android/scripts/configure-$TARGET_DEVICE-for-benchmarks.sh
        - cd art-testing/benchmarking/java-ubenchs
        - ./run.py -t  --iterations $ITERATIONS --mode $MODE
        - lava-test-run-attach res.*.pkl
        - echo "processes running"
        - ps
        - fi
        - lava-sync $TEST_NAME-finished