]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
ruby: create Data_Wrap_Notmuch_Object helper
[notmuch] / test / test-lib.sh
index 72ac2e896604f7d976dd0cc7325036a9c581ec07..d46bb4c34a9165599542b2eff981e5d224f63d67 100644 (file)
@@ -114,6 +114,12 @@ unset ALTERNATE_EDITOR
 unset EMAIL
 unset NAME
 
+test_require_emacs () {
+    test_require_external_prereq emacs
+    test_require_external_prereq ${TEST_EMACSCLIENT}
+    test_require_external_prereq dtach
+}
+
 add_gnupg_home ()
 {
     [ -e "${GNUPGHOME}/gpg.conf" ] && return
@@ -1118,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}"