[Pkg-voip-commits] [sipsak] 16/19: Enable test suite at build-time

Victor Seva vseva at moszumanska.debian.org
Wed Aug 31 09:07:49 UTC 2016


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

vseva pushed a commit to branch master
in repository sipsak.

commit 92869f3a716e03ef0e4f9e8ad9bc5fb3ba6a9f11
Author: Guillem Jover <gjover at sipwise.com>
Date:   Tue Jul 5 14:14:26 2016 +0200

    Enable test suite at build-time
---
 debian/changelog | 1 +
 debian/control   | 1 +
 debian/rules     | 4 ++++
 3 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2fe6238..384db6a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ sipsak (0.9.6-3) UNRELEASED; urgency=medium
   * Run «make distclean» gracefully when no Makefile is present.
   * Bump Standards-Version to 3.9.8.
   * Switch to use dh-autoreconf.
+  * Enable test suite at build-time.
 
  -- Guillem Jover <gjover at sipwise.com>  Mon, 04 Jul 2016 12:19:42 +0200
 
diff --git a/debian/control b/debian/control
index 15fa84a..21c5d94 100644
--- a/debian/control
+++ b/debian/control
@@ -3,6 +3,7 @@ Section: net
 Priority: optional
 Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
 Build-Depends:
+ check,
  debhelper (>= 9),
  dh-autoreconf,
  libgnutls-openssl-dev,
diff --git a/debian/rules b/debian/rules
index 47b177d..e449ab2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,7 +37,11 @@ build-indep:
 build-arch: config.status
 	dh_testdir
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	$(MAKE) VERBOSE=1 check
+else
 	$(MAKE)
+endif
 
 build: build-indep build-arch
 

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



More information about the Pkg-voip-commits mailing list