mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
ci: Adds /usr/local/bin to PATH at piglit-traces.sh
yq and ci-fairy are installed in /usr/local/bin but on script execution that route is not included by default for all runners. Identified on RPI4 runners. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27748>
This commit is contained in:
parent
c1418dcb3d
commit
babb82d81a
1 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,10 @@ mkdir -p "$RESULTS"
|
|||
|
||||
export PIGLIT_REPLAY_DESCRIPTION_FILE="$INSTALL/$PIGLIT_TRACES_FILE"
|
||||
|
||||
# FIXME: guess why /usr/local/bin is not included in all runners PATH.
|
||||
# Needed because yq and ci-fairy are installed there.
|
||||
PATH="/usr/local/bin:$PATH"
|
||||
|
||||
if [ "$PIGLIT_REPLAY_SUBCOMMAND" = "profile" ]; then
|
||||
yq -iY 'del(.traces[][] | select(.label[]? == "no-perf"))' \
|
||||
"$PIGLIT_REPLAY_DESCRIPTION_FILE"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue