summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index c94189ca..4cbabc84 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Standards-Version: 3.9.3
Homepage: http://leap.se
#Vcs-Git: git://git.debian.org/python-applications-team/leap-client.git
#Vcs-Browser: http://git.debian.org/?p=python-applications-team/leap-client.git;a=summary
-Build-Depends: debhelper (>= 8.0.0), python-support, python (>=2.6), python-sphinx (>= 1.0.7+dfsg)
+Build-Depends: debhelper (>= 8.0.0), python-support, python (>=2.6), python-sphinx (>= 1.0.7+dfsg), xvfb
X-Python-Version: >= 2.6
Package: leap-client
diff --git a/debian/rules b/debian/rules
index 198e923f..a3165e4f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# XXX breaking git-buildpackage process
# if we choose to run inside venv
test-python%:
- ./run_tests.sh
+ xvfb-run ./run_tests.sh
override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
endif