[med-svn] [Git][med-team/seqan-needle][master] 2 commits: Added Autopkgtest
Israel Komolehin (@Komolehin)
gitlab at salsa.debian.org
Sun Jan 7 16:41:42 GMT 2024
Israel Komolehin pushed to branch master at Debian Med / seqan-needle
Commits:
47a7ef7c by Komolehin Israel Timilehin at 2024-01-07T16:38:54+00:00
Added Autopkgtest
- - - - -
7a327d54 by Komolehin Israel Timilehin at 2024-01-07T16:41:01+00:00
Updated debian changelog
- - - - -
3 changed files:
- debian/changelog
- + debian/tests/control
- + debian/tests/run-unit-tests
Changes:
=====================================
debian/changelog
=====================================
@@ -3,6 +3,9 @@ seqan-needle (1.0.2+ds-2) UNRELEASED; urgency=medium
* d/clean: remove HTML build of the documentation. Closes: #1048377
* corrected some patch metadata.
+ [ Komolehin Israel Timilehin ]
+ * Added Autopkgtest
+
-- Michael R. Crusoe <crusoe at debian.org> Fri, 15 Sep 2023 15:08:23 +0200
seqan-needle (1.0.2+ds-1) unstable; urgency=medium
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-tests
+Depends: build-essential, cmake, libseqan3-dev, libgtest-dev, libcereal-dev
+Restrictions: allow-stderr
\ No newline at end of file
=====================================
debian/tests/run-unit-tests
=====================================
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+if [ "$AUTOPKGTEST_TMP" = "" ]; then
+ AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXX`
+
+ trap "rm -rf $AUTOPKG_TMP" 0 INT QUIT ABRT PIPE TERM
+
+fi
+
+# Create test build directory
+mkdir build-tests
+cd build-tests
+
+# Generate build files
+cmake ..
+
+# Run test
+make test
\ No newline at end of file
View it on GitLab: https://salsa.debian.org/med-team/seqan-needle/-/compare/118793436a6b4993f1d4bfedd9c9b3cbe9e8dc0d...7a327d54e794d55010b03fd95a1e652e1718cc75
--
View it on GitLab: https://salsa.debian.org/med-team/seqan-needle/-/compare/118793436a6b4993f1d4bfedd9c9b3cbe9e8dc0d...7a327d54e794d55010b03fd95a1e652e1718cc75
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/20240107/bc635625/attachment-0001.htm>
More information about the debian-med-commit
mailing list