summaryrefslogtreecommitdiff
path: root/automated/linux/android-platform-tools/install.yaml
blob: 11cfd6d05badee6c4602d48fb544c769ecf15e83 (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
metadata:
    name: install-android-platform-tools
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Install android platform tools provided by Google from
                  https://developer.android.com/studio/releases/platform-tools"
    maintainer:
        - chase.qi@linaro.org
    os:
        - ubuntu
        - debian
    devices:
        - lxc

    scope:
        - functional

params:
    # Link examples
    # https://dl.google.com/android/repository/platform-tools_r28.0.0-linux.zip
    LINK: "https://dl.google.com/android/repository/platform-tools-latest-linux.zip"

run:
    steps:
        - cd automated/linux/android-platform-tools
        - if ! ./install.sh -l "${LINK}"; then command -v lava-test-raise && lava-test-raise "Failed to install android platform tools!"; fi
        - ../../utils/send-to-lava.sh ./output/result.txt