ci: only modify LD_LIBRARY_PATH when running the piglit cmd
authorAndres Gomez <agomez@igalia.com>
Fri, 21 Aug 2020 08:51:47 +0000 (11:51 +0300)
committerMarge Bot <eric+marge@anholt.net>
Tue, 22 Dec 2020 18:31:01 +0000 (18:31 +0000)
commitfe30b6b4aefe3ebabc8a0b1e98252ffa2d92ddea
tree14319e2fbf2304b29efbd0cdc533b09a84615edd
parent09429fa85b68ca0cdf8c8ac320560b2936249bd6
ci: only modify LD_LIBRARY_PATH when running the piglit cmd

Doing it earlier may interfere with the optional command wrapper.

v2:
  - Fixed typo (Eric).

Suggested-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6388>
.gitlab-ci/piglit/run.sh