From: Felipe Contreras Date: Sat, 1 May 2021 11:59:15 +0000 (-0500) Subject: test: move test_ruby() inside the only client X-Git-Tag: archive/debian/0.33_rc0-1~122 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=8cbd8e71d06795a514cfbe353af3d6cf0b7cde58;p=notmuch 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 --- diff --git a/test/T395-ruby.sh b/test/T395-ruby.sh index a0b76eb8..fec1f5ef 100755 --- a/test/T395-ruby.sh +++ b/test/T395-ruby.sh @@ -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' diff --git a/test/test-lib.sh b/test/test-lib.sh index 88e2a82f..d46bb4c3 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -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}"