blob: cc4ae56913031fa5d6661294f329b0545db04f2d [file] [log] [blame]
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2019 Schneider Electric
metadata:
format: Lava-Test Test Definition 1.0
name: uart-loopback
description: "UART functional test.
This runs a functional test across two connected UARTs.
It tests baud rates from 9600 to 230400, a selection of
parity, CTS/RTS, and stop bit settings."
maintainer:
- ryan.harkin@linaro.org
os:
- debian
- ubuntu
- fedora
- centos
- openembedded
scope:
- functional
- uart
- loopback
devices:
- rzn1d
- soca9
params:
TXUART: "/dev/ttyS1"
RXUART: "/dev/ttyUSB0"
run:
steps:
- cd ./automated/linux/uart-loopback
- ./uart-loopback.sh -t "${TXUART}" -r "${RXUART}"
- ../../utils/send-to-lava.sh ./output/result.txt