<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T568-lib-thread.sh, branch 0.35</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.35</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.35'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-12-04T16:36:08Z</updated>
<entry>
<title>test: move system includes to notmuch-test.h</title>
<updated>2021-12-04T16:36:08Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-28T12:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1643c0459a496b45b601d91e0089fac507a2a6d1'/>
<id>urn:sha1:1643c0459a496b45b601d91e0089fac507a2a6d1</id>
<content type='text'>
This removes some redudant includes, and will also make it easier to
introduce "#define _GNU_SOURCE", which must come before all system
includes.
</content>
</entry>
<entry>
<title>test: Fix race condition in T568-lib-thread.sh</title>
<updated>2021-02-18T11:15:47Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-02-15T00:55:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a37d5f5976de07b36141aa6b4a98cf913a3cf2fe'/>
<id>urn:sha1:a37d5f5976de07b36141aa6b4a98cf913a3cf2fe</id>
<content type='text'>
The assignment of thread-ids is (apparently) non-deterministic in a
way that mostly seems to show up on multicore machines. In my tests
the number is different from that previously assumed by this test
about 15% of the time on a 50 thread (25 core) Xeon.

Since message id's are fixed, use a message known to be in the thread
of interest to pick out the correct thread-id.
</content>
</entry>
<entry>
<title>test: add regression test for n_messages_collect_tags</title>
<updated>2020-08-03T23:47:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-01T12:25:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e5e17926dbb0739ddd23b56599a8a580225f01a2'/>
<id>urn:sha1:e5e17926dbb0739ddd23b56599a8a580225f01a2</id>
<content type='text'>
Also test n_messages_destroy.
</content>
</entry>
<entry>
<title>test: destroy thread from closed database</title>
<updated>2020-07-31T10:41:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-24T11:14:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=00f48f397abcdc662041726b25dac0173880f2e5'/>
<id>urn:sha1:00f48f397abcdc662041726b25dac0173880f2e5</id>
<content type='text'>
Check for (non)-crash.
</content>
</entry>
<entry>
<title>test: regression test for n_thread_get_tags</title>
<updated>2020-07-31T10:41:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-24T11:14:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=864f422f149c709e5701ba194a32931d9f216e4c'/>
<id>urn:sha1:864f422f149c709e5701ba194a32931d9f216e4c</id>
<content type='text'>
Code is taken from the API docs, with the twist that the underlying
database is closed. Not crashing is the main point.
</content>
</entry>
<entry>
<title>test: add regression tests for oldest and newest dates</title>
<updated>2020-07-31T10:41:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-24T11:14:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=43406e7d4c081583878ede8f2b5a55f937fa4edd'/>
<id>urn:sha1:43406e7d4c081583878ede8f2b5a55f937fa4edd</id>
<content type='text'>
These are strictly to watch for crashes, so don't be too fussy about
the actual timestamps.
</content>
</entry>
<entry>
<title>test: add regression tests for n_t_get_{authors, subject}</title>
<updated>2020-07-31T10:41:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-24T11:14:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c5017c76d939610860a64906be77fe62a64eae96'/>
<id>urn:sha1:c5017c76d939610860a64906be77fe62a64eae96</id>
<content type='text'>
This is returning explicitely cached data, so no database access is needed.
</content>
</entry>
<entry>
<title>test: add regression test for n_t_get_messages</title>
<updated>2020-07-31T10:41:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-24T11:14:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=70b30066f67ea75d405c8a246bf6ed923e2bdd59'/>
<id>urn:sha1:70b30066f67ea75d405c8a246bf6ed923e2bdd59</id>
<content type='text'>
This is similar to the case of toplevel messages. Currently everything
is cached, so no database access is necessary. This might change in
the future, but it should not crash in either case.
</content>
</entry>
<entry>
<title>test: add regression tests for n_thread_get_toplevel_messages</title>
<updated>2020-07-31T10:41:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-24T11:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6ccc4338a45dc61b531850f212cbc0e3ec7eae30'/>
<id>urn:sha1:6ccc4338a45dc61b531850f212cbc0e3ec7eae30</id>
<content type='text'>
Include a test for the previously omitted non-trivial code path for
notmuch_thread_get_replies.
</content>
</entry>
<entry>
<title>test: add regression test for n_thread_get_total_{messages,files}</title>
<updated>2020-07-31T10:41:00Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-07-24T11:14:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=02ab473115f064c8f53fc46cc06a33e40588906d'/>
<id>urn:sha1:02ab473115f064c8f53fc46cc06a33e40588906d</id>
<content type='text'>
This is returning cached info, so does not need to access the (closed)
database.
</content>
</entry>
</feed>
