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