Skip to content
Commits on Source (3)
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.
README.md
debian/README.test
debian/tests/run-unit-test
bedtools (2.27.1+dfsg-2) UNRELEASED; urgency=medium
* Install autopkgtest script as /usr/share/doc/bedtools/run-unit-test
* Point Vcs fields to salsa.debian.org
-- Andreas Tille <tille@debian.org> Thu, 05 Apr 2018 09:00:44 +0200
bedtools (2.27.1+dfsg-1) unstable; urgency=medium
* New upstream version
......
......@@ -9,8 +9,8 @@ Build-Depends: debhelper (>= 11~),
zlib1g-dev,
samtools
Standards-Version: 4.1.3
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/bedtools.git
Vcs-Git: https://anonscm.debian.org/git/debian-med/bedtools.git
Vcs-Browser: https://salsa.debian.org/med-team/bedtools
Vcs-Git: https://salsa.debian.org/med-team/bedtools.git
Homepage: https://github.com/arq5x/bedtools2
Package: bedtools
......
Tests: upstream
Tests: run-unit-test
Depends: @, samtools, tabix
Restrictions: allow-stderr
......@@ -5,15 +5,21 @@ if [ "$ADTTMP" = "" ] ; then
trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
fi
set -x
# Copy test suite there
cp -a /usr/share/bedtools/test $ADTTMP
# Link to genomes files
cd $ADTTMP
ln -s /usr/share/bedtools/genomes
# Enter the directory and run the tests
cd $ADTTMP/test
# Test script is seeking for lower case dir
if [ -d groupBy ] ; then
ln -s groupBy groupby
fi
DATA=/usr/share/bedtools/data BT=/usr/bin/bedtools sh test.sh | tee test.sh.output
# Did it fail ?
......