[med-svn] [pbbam] 06/06: WIP: enable googletests
Afif Elghraoui
afif at moszumanska.debian.org
Sun Jan 22 07:52:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch topic/gtest
in repository pbbam.
commit 0f0a9e5bcbba21474bbb3d62e5be3c68e8f9db13
Author: Afif Elghraoui <afif at debian.org>
Date: Sat Jan 21 23:41:00 2017 -0800
WIP: enable googletests
This currently doesn't work because of issues with cmake
and pthreads that I haven't investigated.
---
debian/control | 2 +-
debian/rules | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index d1eb31b..dfd4cf2 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Build-Depends:
libssl-dev,
libhts-dev,
# Test-Depends:
-# libgtest-dev,
+ googletest,
python-cram,
samtools,
Standards-Version: 3.9.8
diff --git a/debian/rules b/debian/rules
index f1eb875..51ede2b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@
export LC_ALL=C.UTF-8
include /usr/share/dpkg/default.mk
+export GTEST_SRC_DIR = /usr/src/googletest/googletest
DEB_VERSION_UPSTREAM := $(subst +ds,,$(DEB_VERSION_UPSTREAM))
generated_data_dir = $(CURDIR)/gendata
@@ -13,7 +14,7 @@ generated_data_dir = $(CURDIR)/gendata
override_dh_auto_configure:
dh_auto_configure -- \
-DPacBioBAM_build_shared=ON \
- -DPacBioBAM_build_tests=OFF \
+ -DPacBioBAM_build_tests=ON \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
-DCMAKE_SKIP_RPATH=ON \
-DHTSLIB_INCLUDE_DIRS=/usr/include \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pbbam.git
More information about the debian-med-commit
mailing list