Ryan Harkin | ed043b7 | 2019-11-05 18:14:04 +0000 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | # Copyright (C) 2019 Schneider Electric |
| 3 | metadata: |
| 4 | format: Lava-Test Test Definition 1.0 |
| 5 | name: uart-loopback |
| 6 | description: "UART functional test. |
| 7 | This runs a functional test across two connected UARTs. |
| 8 | It tests baud rates from 9600 to 230400, a selection of |
| 9 | parity, CTS/RTS, and stop bit settings." |
| 10 | maintainer: |
| 11 | - ryan.harkin@linaro.org |
| 12 | os: |
| 13 | - debian |
| 14 | - ubuntu |
| 15 | - fedora |
| 16 | - centos |
| 17 | - openembedded |
| 18 | scope: |
| 19 | - functional |
| 20 | - uart |
| 21 | - loopback |
| 22 | devices: |
| 23 | - rzn1d |
| 24 | - soca9 |
| 25 | |
| 26 | params: |
| 27 | TXUART: "/dev/ttyS1" |
| 28 | RXUART: "/dev/ttyUSB0" |
| 29 | |
| 30 | run: |
| 31 | steps: |
| 32 | - cd ./automated/linux/uart-loopback |
| 33 | - ./uart-loopback.sh -t "${TXUART}" -r "${RXUART}" |
| 34 | - ../../utils/send-to-lava.sh ./output/result.txt |