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. This-makes-me: ☹
This commit is contained in:
parent
82ed89c0f8
commit
899d260701
|
@ -38,7 +38,6 @@
|
|||
#ifdef WITH_LIBDRM
|
||||
#include <xf86drm.h>
|
||||
#endif
|
||||
#include "xf86Module.h"
|
||||
#include "list.h"
|
||||
#include "scrnintstr.h"
|
||||
#include "windowstr.h"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# workaround for the docker image not being sufficiently python3 yet
|
||||
unset CI_COMMIT_TAG CI_COMMIT_MESSAGE CI_COMMIT_TITLE CI_COMMIT_DESCRIPTION
|
||||
|
||||
set -e
|
||||
|
||||
if test "x$XTEST_DIR" = "x"; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user