[med-svn] [Git][med-team/bedtools][master] Autopkgtest: fixed outdated run-unit-test
Liubov Chuprikova
gitlab at salsa.debian.org
Tue May 22 18:24:34 BST 2018
Liubov Chuprikova pushed to branch master at Debian Med / bedtools
Commits:
75ec9125 by Liubov Chuprikova at 2018-05-22T17:14:48+00:00
Autopkgtest: fixed outdated run-unit-test
- - - - -
2 changed files:
- debian/changelog
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
bedtools (2.27.1+dfsg-2) UNRELEASED; urgency=medium
+ [ Andreas Tille ]
* Install autopkgtest script as /usr/share/doc/bedtools/run-unit-test
* Point Vcs fields to salsa.debian.org
+ [ Liubov Chuprikova ]
+ * Fix "autopkgtest fails while it succeeded in the past"
+ updated run-unit-test to match new upstream tests
+ Closes: #894781
+
-- Andreas Tille <tille at debian.org> Thu, 05 Apr 2018 09:00:44 +0200
bedtools (2.27.1+dfsg-1) unstable; urgency=medium
=====================================
debian/tests/run-unit-test
=====================================
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -5,7 +5,6 @@ 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
@@ -16,14 +15,5 @@ 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 ?
-TESTFAILED=0
-grep -q fail test.sh.output && TESTFAILED=1
+DATA=/usr/share/bedtools/data BT=/usr/bin/bedtools sh test.sh
-exit $TESTFAILED
View it on GitLab: https://salsa.debian.org/med-team/bedtools/commit/75ec9125738229c886da4f93cf90a59fd6daa10d
---
View it on GitLab: https://salsa.debian.org/med-team/bedtools/commit/75ec9125738229c886da4f93cf90a59fd6daa10d
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/20180522/59f664b6/attachment-0001.html>
More information about the debian-med-commit
mailing list