summaryrefslogtreecommitdiff
path: root/automated/linux/mbl/mbl_wifi_present.yaml
blob: c8fe06ad986b631a497419b4e4ac774339a73e26 (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
metadata:
    format: Lava-Test Test Definition 1.0
    name: mbl_wifi_present
    description: "Check wifi device is present."
    maintainer:
        - ryan.harkin@linaro.org
    os:
        - openembedded
    scope:
        - functional
    devices:
        - imx7s-warp
        - raspberrypi3

params:
    SKIP_INSTALL: "False"

run:
    steps:
        - cd ./automated/linux/mbl/
        - mkdir output
        - ./mbl_wifi_present.sh -s "${SKIP_INSTALL}"
        - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
        - echo "mbl_wifi_present $RESULT" > output/result.txt
        - ../../utils/send-to-lava.sh ./output/result.txt