<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test, branch 0.9_rc1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.9_rc1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.9_rc1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-09-25T12:12:48Z</updated>
<entry>
<title>test/atomicity: redirect output from "which"</title>
<updated>2011-09-25T12:12:48Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-09-25T12:12:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2697f623ae1534b669e182934ade124bd9cfd7ad'/>
<id>urn:sha1:2697f623ae1534b669e182934ade124bd9cfd7ad</id>
<content type='text'>
Without redirection, this produced some slightly confusing output in
case gdb was present.
</content>
</entry>
<entry>
<title>test: make atomicity setup conditional on gdb being present.</title>
<updated>2011-09-25T01:45:33Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-09-25T01:45:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c468f3703efc869d62d976ba177e2d0afd7b08ad'/>
<id>urn:sha1:c468f3703efc869d62d976ba177e2d0afd7b08ad</id>
<content type='text'>
The setup is useless if gdb is not present, so it doesn't hurt to skip
it.  The diff here is huge, but the commit is really just moving most
of the script inside the initial if, and adding an else block to print
a warning.
</content>
</entry>
<entry>
<title>new: Wrap adding and removing messages in atomic sections.</title>
<updated>2011-09-24T23:00:29Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@mit.edu</email>
</author>
<published>2011-01-29T16:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bff30540d86c77aacbc2c133c83aa7ccee823b48'/>
<id>urn:sha1:bff30540d86c77aacbc2c133c83aa7ccee823b48</id>
<content type='text'>
This addresses atomicity of tag synchronization, the last atomicity
problems in notmuch new.  Each message add or remove is wrapped in its
own atomic section, so interrupting notmuch new doesn't lose progress.
</content>
</entry>
<entry>
<title>test: use test_expect_equal_file in atomicity</title>
<updated>2011-09-13T12:31:46Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-09-13T12:31:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=73ed66a501537fc145b6b6250513ec94c7b7e659'/>
<id>urn:sha1:73ed66a501537fc145b6b6250513ec94c7b7e659</id>
<content type='text'>
The documentation claims this is more robust, and it seems to work
fine to switch to the _file variant.
</content>
</entry>
<entry>
<title>test: Convert atomicity test to use test_subtest_known_broken</title>
<updated>2011-09-13T12:28:08Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-09-10T22:02:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=05a522c5fa00bd6e0dc15e8cb858cdc45db801bf'/>
<id>urn:sha1:05a522c5fa00bd6e0dc15e8cb858cdc45db801bf</id>
<content type='text'>
This is required because test_expect_equal_failure went away.
</content>
</entry>
<entry>
<title>test: Test atomicity of notmuch new.</title>
<updated>2011-09-13T02:36:00Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@mit.edu</email>
</author>
<published>2011-01-28T18:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9ade8160a6a3f6f55996d7a58dc2cd81a6df8395'/>
<id>urn:sha1:9ade8160a6a3f6f55996d7a58dc2cd81a6df8395</id>
<content type='text'>
This tests notmuch new's ability to recover from arbitrary stopping
failures.  It interrupts notmuch new after every database commit and,
on every resulting database snapshot, re-runs notmuch new to
completion and checks that the final database state is invariant.
</content>
</entry>
<entry>
<title>test: Report test failures from test_expect_*</title>
<updated>2011-09-13T02:36:00Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@mit.edu</email>
</author>
<published>2011-05-12T13:11:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=003e718020b335f329f852ff1a3da23873d2ff6e'/>
<id>urn:sha1:003e718020b335f329f852ff1a3da23873d2ff6e</id>
<content type='text'>
This makes test_expect_* return non-zero if the test fails, so the
caller can make decisions based on this, such as setting test
prerequisites.
</content>
</entry>
<entry>
<title>test: Fix message when skipping test_expect_equal* tests</title>
<updated>2011-09-13T02:35:59Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@mit.edu</email>
</author>
<published>2011-05-12T13:09:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5ae1b9c328518a3b09be827ee59498b0598119ff'/>
<id>urn:sha1:5ae1b9c328518a3b09be827ee59498b0598119ff</id>
<content type='text'>
For these types of tests, the test name is previously recorded in a
variable, not passed to the test function, so pass this variable to
test_skip.
</content>
</entry>
<entry>
<title>test: reset test_subtest_known_broken_ after each success/failure.</title>
<updated>2011-09-13T02:35:21Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-09-13T01:40:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=22af786838793ed97fa3dbb1d223e90602912b71'/>
<id>urn:sha1:22af786838793ed97fa3dbb1d223e90602912b71</id>
<content type='text'>
This means that test_subtest_known_broken needs to be called before
every known broken subtest, which is no different than what is
documented for the test_begin_subtest case.

The assumption is that every test ends up calling either skipping,
calling test_ok_ or test_failure_ and and the latter in turn delegate
to the known_broken versions in the case where
test_subtest_known_broken_ is set.
</content>
</entry>
<entry>
<title>test: mark multipart rfc822 part test as broken</title>
<updated>2011-09-10T18:00:17Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-09-10T18:00:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0a7aa617d59a1c40efb0fa7726fb74bded9e240b'/>
<id>urn:sha1:0a7aa617d59a1c40efb0fa7726fb74bded9e240b</id>
<content type='text'>
Using the new test_subtest_known_broken support thanks to Dmitry
Kurochkin.  This makes the output less scary until we can fix the
underlying problems.
</content>
</entry>
</feed>
