ci/bare-metal: Use python for handling fastboot booting and parsing
authorEric Anholt <eric@anholt.net>
Mon, 31 Aug 2020 20:00:14 +0000 (13:00 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 3 Sep 2020 23:22:44 +0000 (23:22 +0000)
commitfd2ee49b2169c318627225bf74c645f7a3b71900
treebfbf27943c6e9c147e882f18a526b1e92dbddeb6
parent0453a46f668e194d23269510c135a806c7114120
ci/bare-metal: Use python for handling fastboot booting and parsing

Modeling after what I did for cros_servo_run.py, this gives us easy
support for restarting the test run a530 when we detect a spontaneous
reboot.  I had to touch up serial_buffer.py to handle buffering in from a
file instead of a serial device, to support the upcoming etnaviv CI
(tested by running it against a serial log from db410c and seeing it step
to calling "fastboot")

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6529>
.gitlab-ci/bare-metal/fastboot.sh
.gitlab-ci/bare-metal/fastboot_run.py [new file with mode: 0755]
.gitlab-ci/bare-metal/serial_buffer.py