Skip to content
Commits on Source (6)
Notes on how this package can be tested.
────────────────────────────────────────
This package can be tested by running the provided test:
sh run-unit-test
in order to confirm its integrity.
libedlib (1.2.3-2) unstable; urgency=medium
* Fix symbols file
Closes: #905386
* Standards-Version: 4.2.1
* Run build time tests
* Add autopkgtest
-- Andreas Tille <tille@debian.org> Fri, 19 Oct 2018 08:15:14 +0200
libedlib (1.2.3-1) unstable; urgency=medium
* Initial release (Closes: #901184)
......
......@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 11~),
cmake,
d-shlibs,
rename
Standards-Version: 4.1.4
Standards-Version: 4.2.1
Vcs-Browser: https://salsa.debian.org/med-team/libedlib-dev
Vcs-Git: https://salsa.debian.org/med-team/libedlib-dev.git
Homepage: https://github.com/Martinsos/edlib
......
debian/tests/run-unit-test
......@@ -2,7 +2,7 @@ libedlib.so.0 libedlib0 #MINVER#
_ZN18EqualityDefinitionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK17EdlibEqualityPairi@Base 1.2.3
_ZN18EqualityDefinitionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK17EdlibEqualityPairi@Base 1.2.3
_ZNSt6vectorIcSaIcEE12emplace_backIJcEEEvDpOT_@Base 1.2.3
_ZNSt6vectorIiSaIiEE12emplace_backIJiEEEvDpOT_@Base 1.2.3
_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_@Base 1.2.3
edlibAlign@Base 1.2.3
edlibAlignmentToCigar@Base 1.2.3
edlibDefaultAlignConfig@Base 1.2.3
......
......@@ -21,3 +21,9 @@ override_dh_install:
--exclude-la \
--movedev debian/tmp/usr/include/* usr/include \
debian/tmp/usr/lib/*.so
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
`find . -name edlib-aligner` -p apps/aligner/test_data/query.fasta apps/aligner/test_data/target.fasta
`find . -name runTests`
endif
Tests: run-unit-test
Depends: @
Restrictions: allow-stderr
#!/bin/bash
set -e
pkg=edlib-aligner
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi
cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
edlib-aligner -p test_data/query.fasta test_data/target.fasta