zephyr/tests/drivers/console/line_splitting/line_splitting.robot
Jakub Michalski 685b45be94 tests: console: add line splitting tests
Add tests for line splitting in console echo and console_getline()

Signed-off-by: Jakub Michalski <jmichalski@internships.antmicro.com>
Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
2023-11-29 17:16:35 -05:00

15 lines
479 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
*** Settings ***
Resource ${KEYWORDS}
*** Test Cases ***
Should Split Lines
Prepare Machine
Start Emulation
Wait For Next Line On Uart
Write Line To Uart \rabc\nd\n waitForEcho=false
Wait For Line On Uart getline: abc;
Write Line To Uart \rabc\nd\n waitForEcho=false
Wait For Line On Uart ^abc$ treatAsRegex=true