diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2016-11-10 12:26:10 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-06-16 21:10:54 -0700 |
commit | 3bb2d756e579be92a87ff6a17f26f78af3350e4b (patch) | |
tree | f2cf147017e47a1801f3304b6684eb289ab55031 /common/gpio.c | |
parent | 3e4d3fd71249d9511ff8b61b44dbc358191cb90f (diff) | |
download | chrome-ec-3bb2d756e579be92a87ff6a17f26f78af3350e4b.tar.gz |
eCTS: Limit tty reads by boot counts
Currently, read_tty reads characters from tty as long as there
is something to read. This causes read_tty to loop forever if the board
is in reboot loop.
This patch makes cts.py stop reading tty if boot count exceeds
max_boot_count. Reboot is detected by detecting REBOOT_MARKER.
This patch also does:
- Remove debug option: This adds complexity for no real value. Developers
should debug tests using regular tools (make, uart console, etc.).
- Remove html output. Nobody use it. Should be redone when it's needed
using proper libraries.
BUG=chromium:664309
BRANCH=none
TEST=cts.py -m task/gpio/interrupt
Change-Id: I51d1dd51c4097e8115ef04ad46853720295141b4
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/410281
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common/gpio.c')
0 files changed, 0 insertions, 0 deletions