[med-svn] [subread] 13/14: Add workardound for autopkgtest

Alex Mestiashvili malex-guest at moszumanska.debian.org
Sat Apr 23 09:38:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

malex-guest pushed a commit to branch master
in repository subread.

commit 7bb8e36baa1f0a57847d64667ab5342d6c187577
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Sat Apr 23 11:18:12 2016 +0200

    Add workardound for autopkgtest
    
    Copy binaries to the palce where tests expect to find them
---
 debian/tests/subread-tests | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/tests/subread-tests b/debian/tests/subread-tests
index 37ba169..cbc3a8a 100755
--- a/debian/tests/subread-tests
+++ b/debian/tests/subread-tests
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 #use test.tar.xz from /usr/share/doc/subread/examples/ if executed with
-#autpkgtest
+#autopkgtest
 #use binaries and test dir from the source package if executed
 #by override_dh_auto_test:
 
@@ -14,6 +14,12 @@ then
 	trap "rm -rf $TMPDIR" 0 INT QUIT ABRT PIPE TERM
     tar -xf ${examplesdir}/test.tar.xz -C $TMPDIR
     WORKDIR=${TMPDIR}/test
+    #copy binaries to the location expected by the tests
+    mkdir ${TMPDIR}/bin
+    for bin in exactSNP featureCounts subjunc subindel subread-align subread-buildindex
+    do
+        cp /usr/bin/${bin} ${TMPDIR}/bin/
+    done
 else
     #run tests in the source package if executed during building process
     TMPDIR=$1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/subread.git



More information about the debian-med-commit mailing list