summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-31 06:28:05 +0900
committerkali <kali@leap.se>2013-01-31 06:28:05 +0900
commitc41b60d91369599ca6044c84a0f9aabae384b63f (patch)
treed5ae4cf6c2e8fff68f36b873c4afc7a1716730e3
parent30a83c06d3c51f952b97c39683bcfaa61cc350b3 (diff)
add xvfb as build-dep
-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