summaryrefslogtreecommitdiff
path: root/automated/android/tjbench/tjbench.yaml
blob: 9b175a1ce9ce270abac449e8eeedf8e70f41e5b0 (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
metadata:
    format: "Lava-Test Test Definition 1.0"
    name: tjbench
    description: "Tjbench is used to benchmark the performance of libjpeg-turbo
                  and libjpeg62 for android. For each test image, the tjbench
                  program is used to measure the compression and decompression
                  performance and the compression ratio obtained when
                  compressing the test image as a JPEG image and then
                  decompressing the JPEG image back to its original
                  uncompressed form."
    maintainer:
        - yongqin.liu@linaro.org
        - chase.qi@linaro.org
    os:
        - android
    scope:
        - performance
    devices:
        - juno
        - hi6220-hikey

params:
    # Specify device serial no. when more than one device connected.
    ANDROID_SERIAL: ""
    # Specify timeout in seconds for wait_boot_completed.
    BOOT_TIMEOUT: "300"
    LOOPS: "1"
    SKIP_INSTALL: "false"

run:
    steps:
        - cd ./automated/android/tjbench
        - ./tjbench.sh -s "${ANDROID_SERIAL}" -t "${BOOT_TIMEOUT}" -l "${LOOPS}" -S "${SKIP_INSTALL}"
        - ../../utils/send-to-lava.sh ./output/result.txt