From c0b5e4f73fcde15c24ebb62470d60c411ccd4818 Mon Sep 17 00:00:00 2001 From: Guillaume Marcais Date: Tue, 19 Mar 2024 18:00:50 -0400 Subject: [PATCH] K and I information in swig tests --- tests/swig_perl.sh | 3 +++ tests/swig_python.sh | 3 +++ tests/swig_ruby.sh | 3 +++ 3 files changed, 9 insertions(+) diff --git a/tests/swig_perl.sh b/tests/swig_perl.sh index 3741f7c..1d21f8d 100644 --- a/tests/swig_perl.sh +++ b/tests/swig_perl.sh @@ -7,6 +7,9 @@ mkdir -p tests-data; cd tests-data LOADPATH="$BUILDDIR/swig/perl5" K=$($PERL -e 'print(int(rand(16)) + 6)') I=$($PERL -e 'print(int(rand(5)))') + +echo "K $K I $I" + $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 diff --git a/tests/swig_python.sh b/tests/swig_python.sh index a2e0f6e..a375cd3 100644 --- a/tests/swig_python.sh +++ b/tests/swig_python.sh @@ -7,6 +7,9 @@ mkdir -p tests-data; cd tests-data export PYTHONPATH="$BUILDDIR/swig/python/.libs:$BUILDDIR/swig/python${PYTHONPATH+:$PYTHONPATH}" K=$($PYTHON -c 'import random; print(random.randint(6, 20))') I=$($PYTHON -c 'import random; print(random.randint(0, 4))') + +echo "K $K I $I" + $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 diff --git a/tests/swig_ruby.sh b/tests/swig_ruby.sh index d74ed0c..c58c3ab 100644 --- a/tests/swig_ruby.sh +++ b/tests/swig_ruby.sh @@ -7,6 +7,9 @@ mkdir -p tests-data; cd tests-data LOADPATH="$BUILDDIR/swig/ruby/.libs" K=$($RUBY -e 'print(rand(15) + 6)') I=$($RUBY -e 'print(rand(5))') + +echo "K $K I $I" + $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