Skip to content
Commit 6c86af03 authored by Grzegorz Chwierut's avatar Grzegorz Chwierut Committed by Fabio Baltieri
Browse files

twister: pytest: Fix problems with no prompt in tests with shell



Only impacts on twister-pytest scenarios. Exec command is waiting for
the prompt message, but in some cases, e.g. after reseting the DUT, prompt
can be followed by another strings. Solution is to clear internal serial
buffer and to not request the prompt string before executing a command.

Signed-off-by: default avatarGrzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
parent 166d89c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment