]> git.notmuchmail.org Git - notmuch/commit
test: support testing notmuch as installed
authorDavid Bremner <david@tethera.net>
Sun, 9 Apr 2023 14:26:26 +0000 (11:26 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 21 Jul 2023 10:41:50 +0000 (07:41 -0300)
commitec26eeaeec87781dee7dbf720103a5bc9b6bba5d
tree421ad3947e7c06066663f3e53a3c41af5605057f
parent73f3081160fb80345f3953cbdeba340975375325
test: support testing notmuch as installed

We put some effort into testing the built copy rather than some
installed copy. On the other hand for people like packagers, testing
the installed copy is also of interest.

When NOTMUCH_TEST_INSTALLED is set to a nonempty value, tests do not
require a built notmuch tree or running configure.

Some of the tests marked as broken when running against installed
notmuch are probably fixable.
26 files changed:
test/README
test/T000-basic.sh
test/T010-help-test.sh
test/T160-json.sh
test/T240-dump-restore.sh
test/T310-emacs.sh
test/T350-crypto.sh
test/T355-smime.sh
test/T360-symbol-hiding.sh
test/T390-python.sh
test/T391-python-cffi.sh
test/T395-ruby.sh
test/T410-argument-parsing.sh
test/T480-hex-escaping.sh
test/T490-parse-time-string.sh
test/T550-db-features.sh
test/T566-lib-message.sh
test/T592-thread-breakage.sh
test/T710-message-id.sh
test/T800-asan.sh
test/T850-git.sh
test/export-dirs.sh
test/notmuch-test
test/test-lib-common.sh
test/test-lib-emacs.sh
test/test-lib.sh