[heaptrack] 01/02: Run unittests during the build.

Anton Gladky gladk at moszumanska.debian.org
Sat Apr 22 13:09:27 UTC 2017


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

gladk pushed a commit to branch master
in repository heaptrack.

commit aaf8b5ce0c324bdbc9e7c8a4f6d4e9286473656c
Author: Anton Gladky <gladk at debian.org>
Date:   Sat Apr 22 15:07:20 2017 +0200

    Run unittests during the build.
---
 debian/rules | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 625b1ef..0783fcc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,16 @@
 #!/usr/bin/make -f
+BUILDDIR = $(CURDIR)/debian/build
 
 %:
-	dh $@
+	dh $@ --builddirectory=$(BUILDDIR)
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_BUILD_TYPE=Debug
+
+# Unittests are explicitly set to "true" due to their failures.
+# The "|| true" should be removed, when #860949 is resolved
+override_dh_auto_install:
+	dh_auto_install
+	cd $(BUILDDIR) ; $(MAKE) test ARGS=-VV || true
 
 override_dh_auto_test:
-  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/heaptrack.git



More information about the debian-science-commits mailing list