test: move test_ruby() inside the only client

Not much point in polluting the main library, and also will be useful to
modify it in tandem with the tests.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras 2021-05-01 06:59:15 -05:00 committed by David Bremner
parent 595b61ef47
commit 8cbd8e71d0
2 changed files with 4 additions and 4 deletions

View file

@ -8,6 +8,10 @@ fi
add_email_corpus
test_ruby() {
MAIL_DIR=$MAIL_DIR $NOTMUCH_RUBY -I "$NOTMUCH_BUILDDIR/bindings/ruby"> OUTPUT
}
test_begin_subtest "compare thread ids"
test_ruby <<"EOF"
require 'notmuch'

View file

@ -1124,10 +1124,6 @@ test_python() {
$NOTMUCH_PYTHON -B - > OUTPUT
}
test_ruby() {
MAIL_DIR=$MAIL_DIR $NOTMUCH_RUBY -I "$NOTMUCH_BUILDDIR/bindings/ruby"> OUTPUT
}
test_C () {
local exec_file test_file
exec_file="test${test_count}"