ci: extend expect-output.sh
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Thu, 21 May 2020 22:05:37 +0000 (00:05 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 5 Jun 2020 11:02:35 +0000 (11:02 +0000)
commit06d817199454214a942f32d56034aaae87faa50b
tree5287597f95652bba67db895aad6f5890ef0f7469
parentef5b8bbc5ea0c55e99dd1e6c2c7a85590724aa4f
ci: extend expect-output.sh

We need to support different fastboot fetch strings for different
bootloader solutions. Lets extend expect-output.sh to support
multiple fetch strings (-f) and add support for error catch
strings (-e) to stop the CI run early.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5258>
.gitlab-ci/bare-metal/cros-servo.sh
.gitlab-ci/bare-metal/expect-output.sh
.gitlab-ci/bare-metal/fastboot.sh