[PATCH] test: add some exclude tests

Jameson Graef Rollins jrollins at finestructure.net
Sun Mar 18 11:08:08 PDT 2012


On Sun, 18 Mar 2012 17:23:01 +0000, Mark Walters <markwalters1009 at gmail.com> wrote:
> Here are some tests for search exclude working in a systematic fashion
> as suggested by Austin.

Awesome.  More tests = good.

> In principle I think something like the generate_thread function could
> go in to test-lib.sh, but it would need to be written by someone much
> familiar with bash quoting than I am.

Yeah, that's probably a good idea.  It seems generally useful.

> At the moment I have left the current exclude tests in the "search"
> test: should they be moved here?

I would probably put all of the exclude tests (even count/show exclude
tests?)  into one test script.  Might make debugging a bit easier down
the line.  But there are also plenty of tests that fall under multiple
categories, so it's kind of hard to just pick one.

jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120318/06249803/attachment.pgp>


More information about the notmuch mailing list