Commit 899d2607 authored by Adam Jackson's avatar Adam Jackson 🎧

ci: Work around broken python UTF8 handling in the CI docker image

Gitlab very kindly exposes the details of the git commit message (among
much else) in the environment. Unfortunately, piglit tries to handle the
environment in non-UTF8-safe ways, which means if the top-of-tree commit
mentions non-ASCII characters (say, in the author's name) then all the
tests fail and so does the pipeline.

Fortunately none of those variables are things our piglit invocation
needs. Since I've failed to rebuild the docker image as yet, just clear
the likely variables from the environment before running piglit.

parent 82ed89c0
......@@ -38,7 +38,6 @@
#include <xf86drm.h>
#include "xf86Module.h"
#include "list.h"
#include "scrnintstr.h"
#include "windowstr.h"
# workaround for the docker image not being sufficiently python3 yet
set -e
if test "x$XTEST_DIR" = "x"; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment