metadata:
    name: v4l2-compliance
    format: "Lava-Test Test Definition 1.0"
    description: "v4l2 Compliance test suite"
    maintainer:
        - ryan.harkin@linaro.org
    os:
        - openembedded
        - debian
    scope:
        - functional
    devices:
        - imx7s-warp
        - hikey

params:
    VIDEO_DEVICE: "/dev/video0"
    # Specify video driver module to modprobe.
    # Example: vivid.ko
    VIDEO_DRIVER: ""

run:
    steps:
        - cd ./automated/linux/v4l2/
        - ./v4l2-compliance.sh -d "${VIDEO_DEVICE}" -D "${VIDEO_DRIVER}"
        - ../../utils/send-to-lava.sh ./output/result.txt
