[med-svn] [pbseqlib] 01/01: Configure build-time tests

Afif Elghraoui afif-guest at moszumanska.debian.org
Tue Nov 17 05:53:07 UTC 2015


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

afif-guest pushed a commit to branch topic/unittests
in repository pbseqlib.

commit 0436a3edcc84bd3ee9579239b86dc8cf97fd8e91
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Mon Nov 16 21:41:29 2015 -0800

    Configure build-time tests
    
    These can't be merged to master yet because the unittests
    need some work in order to actually run.
---
 debian/control | 2 ++
 debian/rules   | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/debian/control b/debian/control
index adb2906..5f84582 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,8 @@ Build-Depends: debhelper (>= 9),
 	       libboost-dev,
 #	       libpbbam-dev,
 	       libhts-dev,
+# Test-Depends:
+	       libgtest-dev,
 Standards-Version: 3.9.6
 Section: libs
 Homepage: https://github.com/PacificBiosciences/blasr_libcpp
diff --git a/debian/rules b/debian/rules
index 4044b66..b8e769e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,9 @@ export HDF5_LIB = /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
 override_dh_auto_configure:
 	./configure.py PREFIX=/usr/
 
+override_dh_auto_test:
+	$(MAKE) gtest
+
 override_dh_auto_install:
 	mkdir -p debian/libpbdata-dev/usr/include/pbdata
 	cp -r pbdata/* debian/libpbdata-dev/usr/include/pbdata

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



More information about the debian-med-commit mailing list