mirror of https://gitlab.freedesktop.org/mesa/mesa
ci: handle missing dri libraries during listing
Upreving mesa in drm-ci causes the below error, ls -1 '/install/lib/dri/*_dri.so' ls: cannot access '/install/lib/dri/*_dri.so': No such file or directory trap_err 2 Allow the script to continue execution even if listing dri libraries command fails. Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com> Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28782>
This commit is contained in:
parent
e297fb1bd5
commit
fbd6da9bcd
|
@ -113,7 +113,7 @@ export PYTHONPATH=$(python3 -c "import sys;print(\":\".join(sys.path))")
|
|||
if [ -n "$MESA_LOADER_DRIVER_OVERRIDE" ]; then
|
||||
rm /install/lib/dri/!($MESA_LOADER_DRIVER_OVERRIDE)_dri.so
|
||||
fi
|
||||
ls -1 /install/lib/dri/*_dri.so
|
||||
ls -1 /install/lib/dri/*_dri.so || true
|
||||
|
||||
if [ "$HWCI_FREQ_MAX" = "true" ]; then
|
||||
# Ensure initialization of the DRM device (needed by MSM)
|
||||
|
|
Loading…
Reference in New Issue