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:
parent
0546a97d14
commit
ddcdefa98c
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -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
3
debian/tests/build
vendored
@ -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"
|
||||
|
2
debian/tests/installed-tests
vendored
2
debian/tests/installed-tests
vendored
@ -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 \
|
||||
|
3
debian/tests/python3-gi
vendored
3
debian/tests/python3-gi
vendored
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user