3fc24c64e1
This does not fix the tests completely, but does allow them to run to completion and fail "properly". Also contains a few trivial bugfixes in the same codepath. Signed-off-by: Matt Coster <matt.coster@imgtec.com> Reported-by: James Glanville <james.glanville@imgtec.com> Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23100>