Skip to content

Commit

Permalink
use a single thread for the unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kloetzl committed Apr 10, 2015
1 parent 1279915 commit c0df08d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/test_join.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tail -qn 2 p1.fasta p2.fasta p3.fasta > S1.fasta
rm p1.fasta p2.fasta p3.fasta;


RES=$($srcdir/src/andi -r -j S0.fasta S1.fasta |
RES=$($srcdir/src/andi -rt 1 -j S0.fasta S1.fasta |
tail -n 1 |
awk '{print ($2 - 0.1)}' |
awk 'function abs(x){return ((x < 0.0) ? -x : x)} {print abs($1-$2) < 0.01}'
Expand All @@ -33,7 +33,7 @@ tail -qn 2 p2.fasta p3.fasta > S1.fasta
rm p2.fasta p3.fasta;


RES=$($srcdir/src/andi -r -j S0.fasta S1.fasta |
RES=$($srcdir/src/andi -rt1 -j S0.fasta S1.fasta |
tail -n 1 |
awk '{print ($2 - 0.1)}' |
awk 'function abs(x){return ((x < 0.0) ? -x : x)} {print abs($1-$2) < 0.01}'
Expand All @@ -57,7 +57,7 @@ tail -qn 2 p1.fasta p2.fasta p3.fasta > S1.fasta
rm p1.fasta p2.fasta p3.fasta;


RES=$($srcdir/src/andi -r -j S0.fasta S1.fasta |
RES=$($srcdir/src/andi -rt 1 -j S0.fasta S1.fasta |
tail -n 1 |
awk '{print ($2 - 0.1)}' |
awk 'function abs(x){return ((x < 0.0) ? -x : x)} {print abs($1-$2) < 0.01}'
Expand Down
2 changes: 1 addition & 1 deletion test/test_random.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ do
do
res=$(./test/test_fasta -l $LENGTH -d $dist |
tee ./test/test_random.fasta |
./src/andi -r |
./src/andi -r -t 1 |
tail -n 1 |
awk -v dist=$dist '{print $2, dist}' |
awk 'function abs(x){return ((x < 0.0) ? -x : x)} {print abs($1-$2) < 0.01}')
Expand Down

0 comments on commit c0df08d

Please sign in to comment.