[Python-modules-commits] [python-qtawesome] 07/09: Call xvfb-run with -a -s "-screen 0 1024x768x24 +extension GLX" to fix segfaults on Ubuntu

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Apr 5 17:38:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository python-qtawesome.

commit 77d4a1024294b1c26e187aee6e00ba32d8808417
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Mar 16 12:53:45 2017 +0000

    Call xvfb-run with -a -s "-screen 0 1024x768x24 +extension GLX" to fix
    segfaults on Ubuntu
    
    Gbp-Dch: full
    Thanks: Dmitry Shachnev
---
 debian/rules         | 2 +-
 debian/tests/control | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2ec1edc..ec06770 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,5 +20,5 @@ override_dh_auto_test:
 ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
 	PYBUILD_SYSTEM=custom \
 	PYBUILD_TEST_ARGS="cd {build_dir}; {interpreter} {dir}/example.py" \
-		xvfb-run dh_auto_test
+		xvfb-run -a -s "-screen 0 1024x768x24 +extension GLX" dh_auto_test
 endif
diff --git a/debian/tests/control b/debian/tests/control
index 82e2710..f6c8a46 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
-Test-Command: xvfb-run python example.py
+Test-Command: xvfb-run -a -s "-screen 0 1024x768x24 +extension GLX" python example.py
 Depends: python-qtawesome, xauth, xvfb
 
-Test-Command: xvfb-run python3 example.py
+Test-Command: xvfb-run -a -s "-screen 0 1024x768x24 +extension GLX" python3 example.py
 Depends: python3-qtawesome, xauth, xvfb

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-qtawesome.git



More information about the Python-modules-commits mailing list