aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2021-05-01 06:59:15 -0500
committerDavid Bremner <david@tethera.net>2021-05-02 08:11:04 -0300
commit8cbd8e71d06795a514cfbe353af3d6cf0b7cde58 (patch)
treea2c8a0c638108b58b3698ea2682555db2231d92e /test
parent595b61ef47bf6b8f8a6b32e85664d0256e979392 (diff)
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>
Diffstat (limited to 'test')
-rwxr-xr-xtest/T395-ruby.sh4
-rw-r--r--test/test-lib.sh4
2 files changed, 4 insertions, 4 deletions
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}"