[Pkg-mpd-commits] [pkg-mpd] 08/13: Enable automatic build tests

Florian Schlichting fsfs at alioth.debian.org
Fri Nov 1 22:21:33 UTC 2013


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

fsfs pushed a commit to branch master
in repository pkg-mpd.

commit 73afaa24eac86e4c130a7fba3368f1b8e6f5a069
Author: Florian Schlichting <fsfs at debian.org>
Date:   Thu Oct 31 23:45:54 2013 +0100

    Enable automatic build tests
---
 debian/control |    1 +
 debian/rules   |    5 +++++
 2 files changed, 6 insertions(+)

diff --git a/debian/control b/debian/control
index be8014f..c6e0b4d 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@ Build-Depends: debhelper (>= 9),
     	       libavahi-glib-dev,
                libavcodec-dev,
                libbz2-dev,
+               libcppunit-dev,
                libsndfile1-dev,
                libyajl-dev,
                libsidutils-dev,
diff --git a/debian/rules b/debian/rules
index d850d56..a2e38d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,7 @@ override_dh_auto_configure:
 		--enable-modplug \
 		--enable-curl \
 		--enable-fluidsynth \
+		--enable-test \
 		--prefix=/usr \
 		--sysconfdir=/etc
 
@@ -61,3 +62,7 @@ override_dh_install:
 	dh_install
 	cp $(CURDIR)/debian/mpd.tmpfiles $(CURDIR)/debian/mpd/usr/lib/tmpfiles.d/mpd.conf
 	$(CP_SYSTEMD_UNIT)
+
+override_dh_auto_test:
+	chmod +x test/*.sh
+	dh_auto_test

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/pkg-mpd.git



More information about the Pkg-mpd-commits mailing list