Skip to content
Commit 0e79dc39 authored by Ming Shao's avatar Ming Shao Committed by Anas Nashif
Browse files

twisterlib: drain the serial leftover before new test



Some tests can cause serial leftover logs buffered on board.
A simple ser.flush() is not enough. So add explicit readline()
to drain such logs which prepares a clean serial context for
the case that follows.

Signed-off-by: default avatarMing Shao <ming.shao@intel.com>
parent 70cca36a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment