From b839e7c0035d368183e705cce415dc79409eb9c2 Mon Sep 17 00:00:00 2001 From: Guillaume Marcais Date: Fri, 11 Mar 2016 12:45:08 -0500 Subject: [PATCH] Fix swig binding testing. --- Makefile.am | 6 +++--- tests/swig_perl.sh | 3 +-- tests/swig_python.sh | 3 +-- tests/swig_ruby.sh | 3 +-- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Makefile.am b/Makefile.am index a28d8484..1a6ae27b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 ############## diff --git a/tests/swig_perl.sh b/tests/swig_perl.sh index 384f5278..0223c376 100644 --- a/tests/swig_perl.sh +++ b/tests/swig_perl.sh @@ -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 diff --git a/tests/swig_python.sh b/tests/swig_python.sh index 357ebf2b..bf8e6ae6 100644 --- a/tests/swig_python.sh +++ b/tests/swig_python.sh @@ -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 diff --git a/tests/swig_ruby.sh b/tests/swig_ruby.sh index bb6d95ec..cc4d8668 100644 --- a/tests/swig_ruby.sh +++ b/tests/swig_ruby.sh @@ -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