Commit 700890df authored by Shayan Doust's avatar Shayan Doust
Browse files

Patch to fix the test scripts to use the correct binary

parent 740697a5
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
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@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
 
+1 −0
Original line number Diff line number Diff line
fix_tests.patch
modify_cmake.patch