summaryrefslogtreecommitdiff
path: root/automated/android/ping/ping.yaml
blob: fd9d11d6c7cc4c07fb3e9444ec0ad01637ef26bd (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
metadata:
    name: ping
    format: "Lava-Test Test Definition 1.0"
    description: "ping test"
    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"
    # Specify the server to ping.
    SERVER: "www.google.com"

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