Skip to content

Commit

Permalink
Fix swig binding testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Marcais committed Mar 11, 2016
1 parent 5ca879c commit b839e7c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ TESTS += tests/swig_python.sh tests/swig_ruby.sh tests/swig_perl.sh
tests/swig_python.log: tests/generate_sequence.log
tests/swig_ruby.log: tests/generate_sequence.log
tests/swig_perl.log: tests/generate_sequence.log
EXTRA_DIST += swig/python/test_mer_file.py swig/python/test_hash_counter.py
EXTRA_DIST += swig/ruby/test_mer_file.rb swig/ruby/test_hash_counter.rb
EXTRA_DIST += swig/perl5/t/test_mer_file.t swig/perl5/t/test_hash_counter.t
EXTRA_DIST += swig/python/test_mer_file.py swig/python/test_hash_counter.py swig/python/test_string_mers.py
EXTRA_DIST += swig/ruby/test_mer_file.rb swig/ruby/test_hash_counter.rb swig/ruby/test_string_mers.rb
EXTRA_DIST += swig/perl5/t/test_mer_file.t swig/perl5/t/test_hash_counter.t swig/perl5/t/test_string_mers.t


##############
Expand Down
3 changes: 1 addition & 2 deletions tests/swig_perl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ $JF count -m $K -s 10M -t $nCPUs -C -o ${pref}.jf seq1m_$I.fa
$JF dump -c ${pref}.jf > ${pref}.dump
$JF histo ${pref}.jf > ${pref}.histo

#for i in test_mer_file.t test_hash_counter.t; do
for i in test_string_mers.t; do
for i in test_mer_file.t test_hash_counter.t test_string_mers.t; do
echo Test $i
$PERL "-I$LOADPATH/.libs" "-I$LOADPATH" "-I$SRCDIR/swig/perl5" "$SRCDIR/swig/perl5/t/$i" .
done
3 changes: 1 addition & 2 deletions tests/swig_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ $JF count -m $K -s 10M -t $nCPUs -C -o ${pref}.jf seq1m_$I.fa
$JF dump -c ${pref}.jf > ${pref}.dump
$JF histo ${pref}.jf > ${pref}.histo

#for i in test_mer_file.py test_hash_counter.py; do
for i in test_string_mers.py; do
for i in test_mer_file.py test_hash_counter.py test_string_mers.py; do
echo Test $i
$PYTHON "$SRCDIR/swig/python/$i" .
done
3 changes: 1 addition & 2 deletions tests/swig_ruby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ $JF histo ${pref}.jf > ${pref}.histo



#for i in test_mer_file.rb test_hash_counter.rb; do
for i in test_string_mers.rb; do
for i in test_mer_file.rb test_hash_counter.rb test_string_mers.rb; do
echo Test $i
$RUBY "-I$LOADPATH" "$SRCDIR/swig/ruby/$i" .
done

0 comments on commit b839e7c

Please sign in to comment.