Use the same Xvfb screen configuration as in the upstream GTK+ 4 Gitlab-CI tests

This will hopefully make GLX work (see also #874077)
This commit is contained in:
Simon McVittie 2018-09-19 10:00:20 +01:00
parent 0546a97d14
commit ddcdefa98c
4 changed files with 7 additions and 3 deletions

2
debian/changelog vendored
View File

@ -28,6 +28,8 @@ gtk+3.0 (3.24.0-4) UNRELEASED; urgency=medium
- 10 background-origin.ui
* Sort dependency lists (wrap-and-sort -a)
* d/gtk-3-examples.install: Sort file list (wrap-and-sort -a)
* Use the same Xvfb screen configuration as in the upstream GTK+ 4
Gitlab-CI tests. This will hopefully make GLX work (see also #874077)
-- Simon McVittie <smcv@debian.org> Thu, 13 Sep 2018 08:29:08 +0100

3
debian/tests/build vendored
View File

@ -38,5 +38,6 @@ EOF
gcc -o gtktest gtktest.c `pkg-config --cflags --libs gtk+-3.0`
echo "build: OK"
[ -x gtktest ]
xvfb-run ./gtktest
xvfb-run -a -s "-screen 0 1024x768x24" \
./gtktest
echo "run: OK"

View File

@ -12,7 +12,7 @@ export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec dbus-run-session -- \
xvfb-run -a \
xvfb-run -a -s "-screen 0 1024x768x24" \
gnome-desktop-testing-runner \
--report-directory="$AUTOPKGTEST_ARTIFACTS" \
--tap \

View File

@ -1,6 +1,7 @@
#!/bin/sh
xvfb-run python3 <<EOF
xvfb-run -a -s "-screen 0 1024x768x24" \
python3 <<EOF
from gi.repository import GLib, Gtk
def do_quit(user_data):