[med-svn] [Git][med-team/spoa][master] Activate build time test
    Andreas Tille 
    gitlab at salsa.debian.org
       
    Sat Jun  9 19:15:55 BST 2018
    
    
  
Andreas Tille pushed to branch master at Debian Med / spoa
Commits:
e2c911bd by Andreas Tille at 2018-06-09T20:01:50+02:00
Activate build time test
- - - - -
3 changed files:
- debian/control
- debian/patches/use_debian_packaged_libs.patch
- debian/rules
Changes:
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,8 @@ Build-Depends: debhelper (>= 11~),
                cmake,
                d-shlibs,
                rename,
-               libbioparser-dev
+               libbioparser-dev,
+               libgtest-dev
 Standards-Version: 4.1.4
 Vcs-Browser: https://salsa.debian.org/med-team/spoa
 Vcs-Git: https://salsa.debian.org/med-team/spoa.git
=====================================
debian/patches/use_debian_packaged_libs.patch
=====================================
--- a/debian/patches/use_debian_packaged_libs.patch
+++ b/debian/patches/use_debian_packaged_libs.patch
@@ -27,5 +27,5 @@ Description: Use Debian packaged libraries
 -    add_subdirectory(vendor/googletest/googletest EXCLUDE_FROM_ALL)
 -
 -    target_link_libraries(spoa_test spoa bioparser gtest_main)
-+    target_link_libraries(spoa_test spoa z)
++    target_link_libraries(spoa_test spoa gtest_main gtest z pthread)
  endif(spoa_build_tests)
=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,8 @@
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 DEB_CMAKE_EXTRA_FLAGS = -DCMAKE_BUILD_TYPE=Release \
-                        -Dspoa_build_executable=ON
+                        -Dspoa_build_executable=ON \
+                        -Dspoa_build_tests=ON
 
 %:
 	dh $@
View it on GitLab: https://salsa.debian.org/med-team/spoa/commit/e2c911bd56bd410d614da3fdb85c232f291ae4a5
-- 
View it on GitLab: https://salsa.debian.org/med-team/spoa/commit/e2c911bd56bd410d614da3fdb85c232f291ae4a5
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180609/0c92e6c8/attachment.html>
    
    
More information about the debian-med-commit
mailing list