Mesa (master): ci/tracie: Fix apitrace dump using "less" which isn't in the ARM rootfs.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 25 18:12:38 UTC 2020


Module: Mesa
Branch: master
Commit: b5f727afeb38d813cf32ea1fa90f6079b999e6e5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5f727afeb38d813cf32ea1fa90f6079b999e6e5

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 24 10:47:37 2020 -0700

ci/tracie: Fix apitrace dump using "less" which isn't in the ARM rootfs.

You would get no output during the "find the last frame" step of the trace
replay.

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

---

 .gitlab-ci/tracie-runner-gl.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci/tracie-runner-gl.sh b/.gitlab-ci/tracie-runner-gl.sh
index 5c47114e43f..bd58390b7c2 100755
--- a/.gitlab-ci/tracie-runner-gl.sh
+++ b/.gitlab-ci/tracie-runner-gl.sh
@@ -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
 



More information about the mesa-commit mailing list