ci/tracie: Fix apitrace dump using "less" which isn't in the ARM rootfs.
authorEric Anholt <eric@anholt.net>
Wed, 24 Jun 2020 17:47:37 +0000 (10:47 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 25 Jun 2020 17:33:28 +0000 (17:33 +0000)
You would get no output during the "find the last frame" step of the trace
replay.

Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5433>

.gitlab-ci/tracie-runner-gl.sh

index 5c47114e43f052d083e901d885ba9f742ec19243..bd58390b7c236430ddbf9ba61b21e7c3805ad5be 100755 (executable)
@@ -25,6 +25,9 @@ export EGL_PLATFORM="surfaceless"
 export DISPLAY=
 export WAFFLE_PLATFORM="surfaceless_egl"
 
+# Our rootfs may not have "less", which apitrace uses during apitrace dump
+export PAGER=cat
+
 RESULTS=`pwd`/results
 mkdir -p $RESULTS