[med-svn] [libbpp-seq] 01/01: Tests are compiled with position independent code
Julien Dutheil
jdutheil-guest at moszumanska.debian.org
Tue Jul 18 19:05:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
jdutheil-guest pushed a commit to branch master
in repository libbpp-seq.
commit f1131656271a2cebe2cf0b410114b8d589090aa8
Author: Julien Y. Dutheil <dutheil at evolbio.mpg.de>
Date: Tue Jul 18 21:04:42 2017 +0200
Tests are compiled with position independent code
---
debian/changelog | 6 ++++++
debian/patches/relax_test_timeout.patch | 10 +++++++---
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 11ad1b7..ced7f14 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libbpp-seq (2.3.1-7) UNRELEASED; urgency=medium
+
+ * Make tests work on 32 bits archs (enabled position independent code).
+
+ -- Julien Dutheil <julien.dutheil at univ-montp2.fr> Tue, 18 Jul 2017 21:01:24 +0200
+
libbpp-seq (2.3.1-6) unstable; urgency=medium
* Increased timeout threshold for Bowker test to pass on all arch.
diff --git a/debian/patches/relax_test_timeout.patch b/debian/patches/relax_test_timeout.patch
index c9a3e86..6e06ca0 100644
--- a/debian/patches/relax_test_timeout.patch
+++ b/debian/patches/relax_test_timeout.patch
@@ -1,8 +1,12 @@
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 2e19f7d..52b3e3f 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
-@@ -21,4 +21,5 @@ foreach (test_cpp_file ${test_cpp_files})
+@@ -16,9 +16,11 @@ foreach (test_cpp_file ${test_cpp_files}
+ get_filename_component (test_name ${test_cpp_file} NAME_WE)
+ add_executable (${test_name} ${test_cpp_file})
+ target_link_libraries (${test_name} ${PROJECT_NAME}-shared)
++ set_target_properties (${test_name} PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
+ add_test (
+ NAME ${test_name}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND ${test_name}
)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libbpp-seq.git
More information about the debian-med-commit
mailing list