X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/45a0ab9e842e075fba6c30f303564e503e0cea99..deb4e5567c42afe834d83868b9337277256a0d66:/test/test-lib.sh diff --git a/test/test-lib.sh b/test/test-lib.sh index cc08a98c..ac04b15a 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -1327,6 +1327,17 @@ test -z "$NO_PYTHON" && test_set_prereq PYTHON ln -s x y 2>/dev/null && test -h y 2>/dev/null && test_set_prereq SYMLINKS rm -f y +# convert variable from configure to more convenient form +case "$NOTMUCH_DEFAULT_XAPIAN_BACKEND" in + glass) + db_ending=glass + ;; + chert) + db_ending=DB + ;; + *) + error "Unknown Xapian backend $NOTMUCH_DEFAULT_XAPIAN_BACKEND" +esac # declare prerequisites for external binaries used in tests test_declare_external_prereq dtach test_declare_external_prereq emacs