[med-svn] [Git][med-team/bcalm][master] Patch to fix the test scripts to use the correct binary

Shayan Doust gitlab at salsa.debian.org
Tue Sep 24 19:13:36 BST 2019



Shayan Doust pushed to branch master at Debian Med / bcalm


Commits:
700890df by Shayan Doust at 2019-09-23T10:57:49Z
Patch to fix the test scripts to use the correct binary

- - - - -


2 changed files:

- + debian/patches/fix_tests.patch
- debian/patches/series


Changes:

=====================================
debian/patches/fix_tests.patch
=====================================
@@ -0,0 +1,30 @@
+Description: force test scripts to use /usr/bin/bcalm
+ Use /usr/bin/bcalm and not the binary in the build directory.
+Author: Shayan Doust <hello at shayandoust.me>
+Last-Update: 2019-09-23
+---
+
+Index: bcalm/example/run-tiny.sh
+===================================================================
+--- bcalm.orig/example/run-tiny.sh	2019-09-23 11:55:25.936891862 +0100
++++ bcalm/example/run-tiny.sh	2019-09-23 11:55:25.928891770 +0100
+@@ -1,2 +1 @@
+-bcalm=`find ../*/bcalm | head -n 1` # covers bin/ and build/ cases
+-$bcalm -in tiny_read.fa -kmer-size 13 -abundance-min 1 $1 $2
++bcalm -in tiny_read.fa -kmer-size 13 -abundance-min 1 $1 $2
+Index: bcalm/example/circular_unitigs_unittests/CMD
+===================================================================
+--- bcalm.orig/example/circular_unitigs_unittests/CMD	2019-09-23 11:55:25.936891862 +0100
++++ bcalm/example/circular_unitigs_unittests/CMD	2019-09-23 11:55:25.928891770 +0100
+@@ -1,9 +1,9 @@
+ #!/bin/bash
+ if [ "$1" == "3" ]
+ then
+-    ../../build/bcalm -in test3.fa -kmer-size 7 -abundance-min 1 -minimizer-size 5
++    bcalm -in test3.fa -kmer-size 7 -abundance-min 1 -minimizer-size 5
+     exit 0
+ fi
+ 
+-../../build/bcalm -in test1.fa -kmer-size 7 -abundance-min 1 -minimizer-size 5
++bcalm -in test1.fa -kmer-size 7 -abundance-min 1 -minimizer-size 5
+ 


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
+fix_tests.patch
 modify_cmake.patch



View it on GitLab: https://salsa.debian.org/med-team/bcalm/commit/700890df208d1f947781fbf17c1fde24262ebc09

-- 
View it on GitLab: https://salsa.debian.org/med-team/bcalm/commit/700890df208d1f947781fbf17c1fde24262ebc09
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/20190924/5bed7a49/attachment-0001.html>


More information about the debian-med-commit mailing list