Force software rendering during tests
Workaround for Mesa regression #1025312. We expect only software rendering to be available in a buildd or autopkgtest environment anyway.
This commit is contained in:
parent
03a690b972
commit
7c271ab98e
1
debian/rules
vendored
1
debian/rules
vendored
@ -235,6 +235,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
BUILDDIR=$(CURDIR)/debian/build/deb \
|
||||
FUZZY_REFTESTS="$(fuzzy_reftests)" \
|
||||
IGNORE_REFTESTS="$(ignore_reftests)" \
|
||||
LIBGL_ALWAYS_SOFTWARE=1 \
|
||||
XFAIL_REFTESTS="$(xfail_reftests)" \
|
||||
debian/run-tests.sh --timeout-multiplier 4
|
||||
endif
|
||||
|
3
debian/tests/build
vendored
3
debian/tests/build
vendored
@ -10,6 +10,9 @@ set -x
|
||||
|
||||
export NO_AT_BRIDGE=1
|
||||
|
||||
# Workaround for #1025312
|
||||
export LIBGL_ALWAYS_SOFTWARE=1
|
||||
|
||||
WORKDIR=$(mktemp -d)
|
||||
cleanup () {
|
||||
rm -fr "$WORKDIR"
|
||||
|
3
debian/tests/installed-tests
vendored
3
debian/tests/installed-tests
vendored
@ -11,6 +11,9 @@ export GIO_USE_VOLUME_MONITOR=unix
|
||||
|
||||
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
|
||||
|
||||
# Workaround for #1025312
|
||||
export LIBGL_ALWAYS_SOFTWARE=1
|
||||
|
||||
tests=$(gnome-desktop-testing-runner -l gtk+ |
|
||||
cut -f1 -d' ' |
|
||||
grep -v '^gtk./a11ystate.test$' |
|
||||
|
3
debian/tests/python3-gi
vendored
3
debian/tests/python3-gi
vendored
@ -2,6 +2,9 @@
|
||||
|
||||
export NO_AT_BRIDGE=1
|
||||
|
||||
# Workaround for #1025312
|
||||
export LIBGL_ALWAYS_SOFTWARE=1
|
||||
|
||||
xvfb-run -a -s "-screen 0 1024x768x24" \
|
||||
python3 <<EOF
|
||||
import gi
|
||||
|
Loading…
Reference in New Issue
Block a user