Skip to content
Commit a4a55088 authored by Piotr Golyzniak's avatar Piotr Golyzniak Committed by Anas Nashif
Browse files

scripts: pytest: add readlines_until



Add readlines_until method to DeviceAdapter class to simplify using
adapters in tests by give user possibility to read output from device
until following conditions:
- provided regex was found
- provided number of lines was already read
- timeout was occurred

Signed-off-by: default avatarPiotr Golyzniak <piotr.golyzniak@nordicsemi.no>
parent 2e333000
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment