[Pkg-libvirt-commits] [virt-manager] 07/08: Run test during build
Guido Guenther
agx at moszumanska.debian.org
Thu Aug 31 08:01:45 UTC 2017
This is an automated email from the git hooks/post-receive script.
agx pushed a commit to annotated tag debian/1%1.4.2-1
in repository virt-manager.
commit f643d5116ef96d92b7428189c200b23a6d60b66b
Author: Guido Günther <agx at sigxcpu.org>
Date: Wed Aug 30 18:51:44 2017 +0200
Run test during build
---
debian/control | 11 +++++++++++
debian/rules | 3 +++
2 files changed, 14 insertions(+)
diff --git a/debian/control b/debian/control
index a85df5f..274bd13 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,17 @@ Build-Depends:
intltool,
libglib2.0-bin,
python-all,
+# for the tests
+ cpio,
+ gir1.2-libosinfo-1.0,
+ gir1.2-libvirt-glib-1.0,
+ libvirt-daemon,
+ python-gi,
+ python-ipaddr,
+ python-libvirt,
+ python-libxml2,
+ python-requests,
+ unzip,
Package: virt-manager
Architecture: all
diff --git a/debian/rules b/debian/rules
index adffccc..af0fc42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,9 @@ override_dh_python2:
dh_python2 -O--buildsystem=python_distutils
dh_python2 -p virtinst usr/share/virt-manager
+override_dh_auto_test:
+ python setup.py test
+
override_dh_auto_install:
python setup.py --no-update-icon-cache --no-compile-schemas install --force --root=debian/tmp --no-compile -O0
dh_install debian/10_virt-manager.gschema.override \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/virt-manager.git
More information about the Pkg-libvirt-commits
mailing list