summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmma Anholt <emma@anholt.net>2022-06-16 14:18:35 -0700
committerMarge Bot <emma+marge@anholt.net>2022-06-21 21:38:25 +0000
commitcd3d9a7a92ae31a7ce47fb1a3fec7fff743eda7c (patch)
tree81da722f2e2c28fe0c27873c163336671094caf0
parent3f8114d1e01aa49ab1b705084f8a9c2ea2fbbc2a (diff)
ci/bare-metal: Add handling of netboot firmwares for servo boards.
My local trogdor has a netboot firmware and I want to be able to use it to test the timeout code I'm working on. Acked-by: Juan A. Suarez <jasuarez@igalia.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17096>
-rwxr-xr-x.gitlab-ci/bare-metal/cros_servo_run.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci/bare-metal/cros_servo_run.py b/.gitlab-ci/bare-metal/cros_servo_run.py
index 0e231ecfa72..7215253fb7a 100755
--- a/.gitlab-ci/bare-metal/cros_servo_run.py
+++ b/.gitlab-ci/bare-metal/cros_servo_run.py
@@ -71,6 +71,12 @@ class CrosServoRun:
bootloader_done = True
break
+ # If the board has a netboot firmware and we made it to booting the
+ # kernel, proceed to processing of the test run.
+ if re.search("Booting Linux", line):
+ bootloader_done = True
+ break
+
# The Cheza boards have issues with failing to bring up power to
# the system sometimes, possibly dependent on ambient temperature
# in the farm.