[med-svn] [Git][med-team/lambda-align][debian/experimental] 2 commits: Remove dependency on libseqan-dev for tests

Enrico Seiler (@eseiler) gitlab at salsa.debian.org
Wed Nov 27 00:36:57 GMT 2024



Enrico Seiler pushed to branch debian/experimental at Debian Med / lambda-align


Commits:
9ac6fe0d by Enrico Seiler at 2024-11-27T01:36:21+01:00
Remove dependency on libseqan-dev for tests

- - - - -
91677a6c by Enrico Seiler at 2024-11-27T01:36:37+01:00
ready for uploading to experimental

- - - - -


6 changed files:

- debian/changelog
- + debian/patches/0004-make-test-not-depend-on-CXX.patch
- debian/patches/series
- debian/rules
- debian/tests/control
- debian/tests/run-tests


Changes:

=====================================
debian/changelog
=====================================
@@ -1,12 +1,13 @@
-lambda-align (1.0.3-7) UNRELEASED; urgency=medium
+lambda-align (1.0.3-7) experimental; urgency=medium
 
   * Team upload.
   * d/control: Experimental rebuild using the 3rd release candidate of
     SeqAn 2.5.0
   * Added patch for the explicit seqan2 namespace.
   * salsa ci: added
+  * Remove dependency on libseqan-dev for tests
 
- -- Enrico Seiler <enrico.seiler.debian at outlook.com>  Tue, 26 Nov 2024 19:30:29 +0100
+ -- Enrico Seiler <enrico.seiler.debian at outlook.com>  Wed, 27 Nov 2024 01:36:30 +0100
 
 lambda-align (1.0.3-6) unstable; urgency=medium
 


=====================================
debian/patches/0004-make-test-not-depend-on-CXX.patch
=====================================
@@ -0,0 +1,21 @@
+From: Enrico Seiler <enrico.seiler.debian at outlook.com>
+Date: Wed, 27 Nov 2024 01:35:35 +0100
+Subject: make test not depend on CXX
+
+---
+ tests/CMakeLists.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
+index 3b6e3cf..85ab342 100644
+--- a/tests/CMakeLists.txt
++++ b/tests/CMakeLists.txt
+@@ -4,6 +4,8 @@
+ 
+ cmake_minimum_required (VERSION 3.0.0)
+ 
++project (lambda_test LANGUAGES NONE)
++
+ enable_testing ()
+ include (CTest)
+ 


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 set-seqan-cmake-dir.patch
 force-link-rt-pthread.patch
 0003-Upgrade-to-SeqAn-2.5.0.patch
+0004-make-test-not-depend-on-CXX.patch


=====================================
debian/rules
=====================================
@@ -30,6 +30,6 @@ override_dh_auto_configure:
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 ifneq (,$(filter amd64 arm64 mips64el ppc64el,$(DEB_BUILD_ARCH)))
-	cd build/tests && ctest $(shell nproc)
+	cd build/tests && ctest --parallel $(shell nproc)
 endif
 endif


=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
 Tests: run-tests
-Depends: @, @builddeps@, openssl, gzip, coreutils, diffutils
+Depends: @, cmake, openssl, gzip, coreutils, diffutils
 Restrictions: allow-stderr


=====================================
debian/tests/run-tests
=====================================
@@ -3,8 +3,9 @@
 mkdir build
 cd build
 cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON \
-	-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON ../
+	-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON ../tests
+ln -s ../tests ../tests/tests
+mkdir bin
 for binary in $(dpkg -L lambda-align | grep bin/); do ln -s ${binary} bin/; done
-cd tests
-ctest  --parallel $(nproc)
+ctest --parallel $(nproc)
 



View it on GitLab: https://salsa.debian.org/med-team/lambda-align/-/compare/3876a053d426192b9deaaa890456f0056c59318b...91677a6ce0bc3a62f249e70c281bef876ea891f3

-- 
View it on GitLab: https://salsa.debian.org/med-team/lambda-align/-/compare/3876a053d426192b9deaaa890456f0056c59318b...91677a6ce0bc3a62f249e70c281bef876ea891f3
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/20241127/401043fc/attachment-0001.htm>


More information about the debian-med-commit mailing list