summaryrefslogtreecommitdiff
path: root/automated/android/dd-wr-speed/dd-wr-speed.yaml
blob: 3abddc28da54e06aa0b4b039feccec40b9d4117b (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:
    name: dd-speed-test
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "dd write/read speed test."
    maintainer:
        - chase.qi@linaro.org
    os:
        - android
    devices:
        - hi6220-hikey
        - apq8016-sbc
    scope:
        - performance
    environment:
        - lava-test-shell
        - local-test-runner

params:
    # /data partition will be tested by default.
    # Use '-p' specify partition. Example "/dev/block/mmcblk1p1"
    PARTITION: ""
    # You may need to run dd test 4-5 times for an accurate evaluation.
    ITERATION: "5"
    # Specify device serial number for adb connection if more than one device
    # connected.
    SN: ""
    # Specify timeout in seconds for wait_boot_completed
    BOOT_TIMEOUT: "300"

run:
    steps:
        - cd ./automated/android/dd-wr-speed
        - ./dd-wr-speed.sh -p "${PARTITION}" -i "${ITERATION}" -s "${SN}" -t "${BOOT_TIMEOUT}"
        - ../../utils/send-to-lava.sh ./output/result.txt