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