[med-svn] [Git][med-team/bedtools][master] 3 commits: Install autopkgtest script as /usr/share/doc/bedtools/run-unit-test

Andreas Tille gitlab at salsa.debian.org
Thu Apr 5 08:27:04 BST 2018


Andreas Tille pushed to branch master at Debian Med / bedtools


Commits:
81cde7f3 by Andreas Tille at 2018-04-05T09:01:57+02:00
Install autopkgtest script as /usr/share/doc/bedtools/run-unit-test

- - - - -
61b3b225 by Andreas Tille at 2018-04-05T09:03:00+02:00
Point Vcs fields to salsa.debian.org

- - - - -
d7fafd42 by Andreas Tille at 2018-04-05T09:26:34+02:00
Revert comment removal which was done for debugging

- - - - -


6 changed files:

- + debian/README.test
- debian/bedtools.docs
- debian/changelog
- debian/control
- debian/tests/control
- debian/tests/upstream → debian/tests/run-unit-test


Changes:

=====================================
debian/README.test
=====================================
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,8 @@
+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.


=====================================
debian/bedtools.docs
=====================================
--- a/debian/bedtools.docs
+++ b/debian/bedtools.docs
@@ -1 +1,3 @@
 README.md
+debian/README.test
+debian/tests/run-unit-test


=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+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 at debian.org>  Thu, 05 Apr 2018 09:00:44 +0200
+
 bedtools (2.27.1+dfsg-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -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


=====================================
debian/tests/control
=====================================
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
-Tests: upstream
+Tests: run-unit-test
 Depends: @, samtools, tabix
 Restrictions: allow-stderr


=====================================
debian/tests/upstream → debian/tests/run-unit-test
=====================================
--- a/debian/tests/upstream
+++ b/debian/tests/run-unit-test
@@ -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 ?



View it on GitLab: https://salsa.debian.org/med-team/bedtools/compare/93b2f6e50f6e650d9f84a2285dc9580034a54c6c...d7fafd4273bafdda76e6113353a76b426ad4cb34

---
View it on GitLab: https://salsa.debian.org/med-team/bedtools/compare/93b2f6e50f6e650d9f84a2285dc9580034a54c6c...d7fafd4273bafdda76e6113353a76b426ad4cb34
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-commit/attachments/20180405/1eef7489/attachment-0001.html>


More information about the debian-med-commit mailing list