executable('arg-test', ['arg-test.c', '../command-line-arguments.c'], include_directories: [inc_compat, inc_util, inc_cli], link_with: [lib_compat, lib_util], dependencies: dep_talloc) executable('hex-xcode', ['hex-xcode.c', '../command-line-arguments.c'], include_directories: [inc_compat, inc_util, inc_cli], link_with: [lib_compat, lib_util], dependencies: [dep_talloc, dep_gmime]) executable('random-corpus', ['random-corpus.c', 'database-test.c', '../notmuch-config.c', '../status.c', '../command-line-arguments.c'], include_directories: [inc_compat, inc_util, inc_cli, inc_lib], link_with: [lib_compat, lib_util, lib_parse_time, lib_notmuch], dependencies: [dep_talloc, dep_gmime]) executable('smtp-dummy', ['smtp-dummy.c'], include_directories: [inc_compat, inc_util], link_with: [lib_compat, lib_util]) executable('symbol-test', ['symbol-test.cc'], include_directories: [inc_compat, inc_util], link_with: [lib_compat, lib_util, lib_notmuch], dependencies: dep_xapian) executable('parse-time', ['parse-time.c'], include_directories: [inc_compat, inc_util, inc_parse_time], link_with: [lib_compat, lib_util, lib_parse_time]) executable('make-db-version', ['make-db-version.cc'], include_directories: [inc_compat, inc_util], link_with: [lib_compat, lib_util], dependencies: dep_xapian) executable('ghost-report', ['ghost-report.cc'], include_directories: [inc_compat, inc_util], link_with: [lib_compat, lib_util], dependencies: dep_xapian) build_dir = meson.current_build_dir() tests = [ 'T000-basic.sh', 'T010-help-test.sh', 'T020-compact.sh', 'T030-config.sh', 'T040-setup.sh', 'T050-new.sh', 'T060-count.sh', 'T070-insert.sh', 'T080-search.sh', 'T090-search-output.sh', 'T095-address.sh', 'T100-search-by-folder.sh', 'T110-search-position-overlap-bug.sh', 'T120-search-insufficient-from-quoting.sh', 'T130-search-limiting.sh', 'T140-excludes.sh', 'T150-tagging.sh', 'T160-json.sh', 'T170-sexp.sh', 'T180-text.sh', 'T190-multipart.sh', 'T200-thread-naming.sh', 'T205-author-naming.sh', 'T210-raw.sh', 'T220-reply.sh', 'T230-reply-to-sender.sh', 'T240-dump-restore.sh', 'T250-uuencode.sh', 'T260-thread-order.sh', 'T270-author-order.sh', 'T280-from-guessing.sh', 'T290-long-id.sh', 'T300-encoding.sh', 'T310-emacs.sh', 'T320-emacs-large-search-buffer.sh', 'T330-emacs-subject-to-filename.sh', 'T340-maildir-sync.sh', 'T350-crypto.sh', 'T351-pgpmime-mangling.sh', 'T355-smime.sh', 'T356-protected-headers.sh', 'T357-index-decryption.sh', 'T358-emacs-protected-headers.sh', 'T360-symbol-hiding.sh', 'T370-search-folder-coherence.sh', 'T380-atomicity.sh', 'T390-python.sh', 'T391-python-cffi.sh', 'T395-ruby.sh', 'T400-hooks.sh', 'T410-argument-parsing.sh', 'T420-emacs-test-functions.sh', 'T430-emacs-address-cleaning.sh', 'T440-emacs-hello.sh', 'T450-emacs-show.sh', 'T455-emacs-charsets.sh', 'T460-emacs-tree.sh', 'T470-missing-headers.sh', 'T480-hex-escaping.sh', 'T490-parse-time-string.sh', 'T500-search-date.sh', 'T510-thread-replies.sh', 'T520-show.sh', 'T530-upgrade.sh', 'T550-db-features.sh', 'T560-lib-error.sh', 'T570-revision-tracking.sh', 'T580-thread-search.sh', 'T585-thread-subquery.sh', 'T590-libconfig.sh', 'T590-thread-breakage.sh', 'T600-named-queries.sh', 'T610-message-property.sh', 'T620-lock.sh', 'T630-emacs-draft.sh', 'T640-database-modified.sh', 'T650-regexp-query.sh', 'T660-bad-date.sh', 'T670-duplicate-mid.sh', 'T680-html-indexing.sh', 'T690-command-line-args.sh', 'T700-reindex.sh', 'T710-message-id.sh', 'T720-emacs-attachment-warnings.sh', 'T720-lib-lifetime.sh', 'T730-emacs-forwarding.sh', 'T740-body.sh', 'T750-gzip.sh', 'T750-user-header.sh', ] foreach test: tests test(test, find_program(test), workdir: build_dir) endforeach