]> git.notmuchmail.org Git - notmuch/commit
test: treat undefined feature variables as 0
authorDavid Bremner <david@tethera.net>
Sun, 9 Apr 2023 14:26:23 +0000 (11:26 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 21 Jul 2023 09:58:16 +0000 (06:58 -0300)
commitdfa43a19218ed46f677034ab7bf8b8907a327935
treeb930d74b25e0c0c42977784af638a806707aaf7d
parente9ff896f8491e8780fcf7322436fc0c0575fe8f9
test: treat undefined feature variables as 0

When running the test suite without building first, it is desirable to
have the tests consider these variables being undefined as equivalent
to the feature not being present, and in particular for the tests not
to generate errors.
17 files changed:
test/T010-help-test.sh
test/T060-count.sh
test/T081-sexpr-search.sh
test/T095-address.sh
test/T150-tagging.sh
test/T160-json.sh
test/T220-reply.sh
test/T240-dump-restore.sh
test/T355-smime.sh
test/T391-python-cffi.sh
test/T392-python-cffi-notmuch.sh
test/T520-show.sh
test/T570-revision-tracking.sh
test/T700-reindex.sh
test/T800-asan.sh
test/T810-tsan.sh
test/T850-git.sh