Skip to content

Commit

Permalink
adds extra tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kloetzl committed Sep 19, 2015
1 parent f621895 commit f0066b7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if BUILD_TESTS

SUBDIRS+= test

TESTS = test/test_esa test/test_seq test/test_random.sh test/test_join.sh
TESTS = test/test_esa test/test_seq test/test_extra.sh test/test_random.sh test/test_join.sh

$(TESTS): src/andi
# $(MAKE) -C test
Expand Down
2 changes: 1 addition & 1 deletion test/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
check_PROGRAMS = test_esa test_seq test_fasta
dist_noinst_DATA = test_random.sh test_join.sh
dist_noinst_DATA = test_extra.sh test_random.sh test_join.sh

if !BUILD_WITH_LIBDIVSUFSORT
PSUFSORT=$(top_builddir)/opt/psufsort/libpsufsort.a
Expand Down
9 changes: 9 additions & 0 deletions test/test_extra.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh -f

# Test if andi exists, and can be executed
./src/andi --version || exit 1

# Test andi for more than just two sequences at a time
./test/test_fasta -l 100000 -d 0.01 -d 0.01 -d 0.01 -d 0.01 | ./src/andi > /dev/null


0 comments on commit f0066b7

Please sign in to comment.