]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
emacs: add a filter option to show
[notmuch] / test / test-lib.sh
index 486d1c430adbd714f1d08297612c390b4853e3f3..3466e9cf842ac1f439f1a2607daf70a9931f846f 100644 (file)
@@ -1163,6 +1163,11 @@ test_python() {
                | $cmd -
 }
 
+test_ruby() {
+    export LD_LIBRARY_PATH=$TEST_DIRECTORY/../lib
+    MAIL_DIR=$MAIL_DIR ruby -I $TEST_DIRECTORY/../bindings/ruby> OUTPUT
+}
+
 test_C () {
     exec_file="test${test_count}"
     test_file="${exec_file}.c"
@@ -1231,7 +1236,7 @@ emacs_generate_script
 
 # Use -P to resolve symlinks in our working directory so that the cwd
 # in subprocesses like git equals our $PWD (for pathname comparisons).
-cd -P "$test" || error "Cannot setup test environment"
+cd -P "$test" || error "Cannot set up test environment"
 
 if test "$verbose" = "t"
 then