X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-lib.sh;h=3466e9cf842ac1f439f1a2607daf70a9931f846f;hp=486d1c430adbd714f1d08297612c390b4853e3f3;hb=d9567dd5b5b6f9e4c5bcc45776a08c5578f1650d;hpb=1e69afe8af3512c45061cfde99c9f98e1f94e20c diff --git a/test/test-lib.sh b/test/test-lib.sh index 486d1c43..3466e9cf 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -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