<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T640-database-modified.sh, branch 0.37_rc0</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.37_rc0</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.37_rc0'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2022-05-29T10:36:44Z</updated>
<entry>
<title>test: replace deprecated use of notmuch_database_open</title>
<updated>2022-05-29T10:36:44Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-21T18:06:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=32f299fe137a4ac731750d576e65337b395a42ef'/>
<id>urn:sha1:32f299fe137a4ac731750d576e65337b395a42ef</id>
<content type='text'>
This is a bit more involved than replacing the use of
notmuch_database_open_verbose, as we have to effectively inline the
definition of notmuch_database_open.
</content>
</entry>
<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: use $(dirname "$0") for sourcing test-lib.sh</title>
<updated>2017-10-20T22:52:49Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-09-25T20:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a863de1e43ee34f6f5794a2759fdceb287e851aa'/>
<id>urn:sha1:a863de1e43ee34f6f5794a2759fdceb287e851aa</id>
<content type='text'>
Don't assume the tests are always run from within the source tree.
</content>
</entry>
<entry>
<title>lib: replace deprecated n_q_search_messages with status returning version</title>
<updated>2017-03-22T11:35:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-26T21:21:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=86cbd215eb67d7b996c977352a50e70c101cb641'/>
<id>urn:sha1:86cbd215eb67d7b996c977352a50e70c101cb641</id>
<content type='text'>
This function was deprecated in notmuch 0.21.  We re-use the name for
a status returning version, and deprecate the _st name.
</content>
</entry>
<entry>
<title>test: make T640 compatible with old C compilers</title>
<updated>2017-02-26T12:16:45Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-26T12:16:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bd29098e47feab7886132689e4094fe6f2593311'/>
<id>urn:sha1:bd29098e47feab7886132689e4094fe6f2593311</id>
<content type='text'>
Apparently our test system does not use the same flags for compiling
tests as it does for compiling notmuch. Make the test compatible with
C89. Also remove one unused loop index.
</content>
</entry>
<entry>
<title>lib: handle DatabaseModifiedError in _n_message_ensure_metadata</title>
<updated>2017-02-26T01:13:50Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-18T01:28:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e0b22c139c0a9cd2b7dc5afb96e4ccec4f6b1641'/>
<id>urn:sha1:e0b22c139c0a9cd2b7dc5afb96e4ccec4f6b1641</id>
<content type='text'>
The retries are hardcoded to a small number, and error handling aborts
than propagating errors from notmuch_database_reopen. These are both
somewhat justified by the assumption that most things that can go
wrong in Xapian::Database::reopen are rare and fatal. Here's the brief
discussion with Xapian upstream:

   24-02-2017 08:12:57 &lt; bremner&gt; any intuition about how likely
      Xapian::Database::reopen is to fail? I'm catching a
      DatabaseModifiedError somewhere where handling any further errors is
      tricky, and wondering about treating a failed reopen as as "the
      impossible happened, stopping"

   24-02-2017 16:22:34 &lt; olly&gt; bremner: there should not be much scope for
    failure - stuff like out of memory or disk errors, which are probably a
    good enough excuse to stop
</content>
</entry>
<entry>
<title>test: add known broken test for uncaught DatabaseModifiedError</title>
<updated>2017-02-26T01:07:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-02-25T02:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ae731c183a64c1b68ceb145417897ae1c32b4971'/>
<id>urn:sha1:ae731c183a64c1b68ceb145417897ae1c32b4971</id>
<content type='text'>
There are several of these to track down, but one that is in quite a
few code paths is _notmuch_message_ensure_metadata.
</content>
</entry>
</feed>
