[PATCH] test: Test thread linking in all possible delivery orders

2014-04-07 Thread David Bremner
Austin Clements writes: > +THREADS=$(python -c ' > +def mkTrees(free, tree={}): > +if not free: I'm not sure if using not for an empty set is idiomatic python or not, but it did confuse me a moment. > +print(" ".join(map(str, [msg[1] for msg in sorted(tree.items())]))) > +ret

Re: [PATCH] test: Test thread linking in all possible delivery orders

2014-04-07 Thread David Bremner
Austin Clements writes: > +THREADS=$(python -c ' > +def mkTrees(free, tree={}): > +if not free: I'm not sure if using not for an empty set is idiomatic python or not, but it did confuse me a moment. > +print(" ".join(map(str, [msg[1] for msg in sorted(tree.items())]))) > +ret

[PATCH] test: Test thread linking in all possible delivery orders

2014-03-23 Thread Austin Clements
This test delivers all possible (single-root) four-message threads in all possible orders and checks that notmuch successfully links them into threads in every case. This is introduced as a new test (rather than just adding it to T050-new) because it's much easier for this to start with an empty d

[PATCH] test: Test thread linking in all possible delivery orders

2014-03-23 Thread Austin Clements
This test delivers all possible (single-root) four-message threads in all possible orders and checks that notmuch successfully links them into threads in every case. This is introduced as a new test (rather than just adding it to T050-new) because it's much easier for this to start with an empty d