summaryrefslogtreecommitdiff
path: root/automated/linux/mbl/mbl_btle_present.yaml
blob: d7e39e2701493638f0bbb7439d8b15e98dccab2f (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_btle_present
    description: "Check the BlueTooth 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_btle_present.sh -s "${SKIP_INSTALL}"
        - case "$?" in 0) RESULT=pass ;; 22) RESULT=skip ;; *) RESULT=fail ;; esac
        - echo "mbl_btle_present $RESULT" > output/result.txt
        - ../../utils/send-to-lava.sh ./output/result.txt