<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/README, branch 0.11_rc1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.11_rc1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.11_rc1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-12-08T00:03:00Z</updated>
<entry>
<title>test: add functions to count how much times notmuch was called</title>
<updated>2011-12-08T00:03:00Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-11-29T21:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e994bb28df895ae06ebaab54b4ef226f5bd8bb95'/>
<id>urn:sha1:e994bb28df895ae06ebaab54b4ef226f5bd8bb95</id>
<content type='text'>
The patch adds two auxiliary functions and a variable:

  notmuch_counter_reset
  $notmuch_counter_command
  notmuch_counter_value

They allow to count how many times notmuch binary is called.
notmuch_counter_reset() function generates a script that counts how
many times it is called and resets the counter to zero.  The function
sets $notmuch_counter_command variable to the path to the generated
script that should be called instead of notmuch to do the counting.
The notmuch_counter_value() function returns the current counter
value.
</content>
</entry>
<entry>
<title>test: add test-binaries target</title>
<updated>2011-12-06T13:37:44Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-12-03T22:05:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7bf1f6e85a1af283c62fcf5f305b762e20706a42'/>
<id>urn:sha1:7bf1f6e85a1af283c62fcf5f305b762e20706a42</id>
<content type='text'>
The goal here is to have a simple way of making sure all of the
binaries needed to run tests are available.
</content>
</entry>
<entry>
<title>test: remove documentation for test_expect_equal_failure.</title>
<updated>2011-09-10T17:54:56Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-09-10T17:54:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3ee541ab3184a56a5fbe194caf0ff1f15e124683'/>
<id>urn:sha1:3ee541ab3184a56a5fbe194caf0ff1f15e124683</id>
<content type='text'>
The actual function was deleted in commit 4cc67276
</content>
</entry>
<entry>
<title>test: improve known broken tests support</title>
<updated>2011-09-10T13:13:27Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-07-04T04:07:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4cc67276885990c38bc2bcc79eedbb0851e2bc8a'/>
<id>urn:sha1:4cc67276885990c38bc2bcc79eedbb0851e2bc8a</id>
<content type='text'>
There is existing support for broken tests.  But it is not convenient
to use.  The primary issue is that we have to maintain a set of
test_expect_*_failure functions which are equivalent to the normal
test_expect_* counterparts except for what functions are called for
result reporting.  The patch adds test_subtest_known_broken function
which marks a subset as broken, making the normal test_expect_*
functions behave as test_expect_*_failure.  All test_expect_*_failure
functions are removed.  Test_known_broken_failure_ is changed to
format details the same way as test_failure_ does.

Another benefit of this change is that the diff when a broken test is
fixed would be small and nice.

Documentation is updated accordingly.
</content>
</entry>
<entry>
<title>test: update documentation for test_emacs in test/README</title>
<updated>2011-09-10T13:12:03Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-07-04T04:07:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0db3a4d5be93710837962b8260420cfc5a8b968e'/>
<id>urn:sha1:0db3a4d5be93710837962b8260420cfc5a8b968e</id>
<content type='text'>
Update test_emacs documentation in test/README according to the latest
changes in emacs tests.  Move the note regarding setting variables
from test/emacs to test/README.
</content>
</entry>
<entry>
<title>test: document test_expect_equal_file</title>
<updated>2011-06-29T22:36:43Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2011-06-29T17:06:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a31ad0bd01570307d18b7fbd56b7bcdfb22e5b63'/>
<id>urn:sha1:a31ad0bd01570307d18b7fbd56b7bcdfb22e5b63</id>
<content type='text'>
This test was not properly documented when it was originally added (my
bad).
</content>
</entry>
<entry>
<title>test:Improve test behaviors when --root is used</title>
<updated>2011-06-28T23:01:56Z</updated>
<author>
<name>Mark Anderson</name>
<email>ma.skies@gmail.com</email>
</author>
<published>2011-06-28T22:11:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=eb4cf465a5c179c711c15649fc90c7377850cb77'/>
<id>urn:sha1:eb4cf465a5c179c711c15649fc90c7377850cb77</id>
<content type='text'>
Change add_email_corpus, emacs_deliver_message and tests to use
$TEST_DIRECTORY instead of '..'.

This improves the behavior of the usage of --root=&lt;dir&gt;, as the
assumption of what '..' means will usually be incorrect.

Document -root option in README and update valgrind to work with
-root.
</content>
</entry>
<entry>
<title>fix sum moar typos [text files]</title>
<updated>2011-06-23T22:40:50Z</updated>
<author>
<name>Pieter Praet</name>
<email>pieter@praet.org</email>
</author>
<published>2011-06-20T20:14:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=18bf91def97157538bca1b8aac5e624880c8f62e'/>
<id>urn:sha1:18bf91def97157538bca1b8aac5e624880c8f62e</id>
<content type='text'>
Various typo fixes in auxiliary text files included with the source,
(README, TODO, etc.).

Signed-off-by: Pieter Praet &lt;pieter@praet.org&gt;

Edited-by: Carl Worth &lt;cworth@cworth.org&gt; Restricted to just text files.
</content>
</entry>
<entry>
<title>test: change "#!/bin/bash" to "#!/usr/bin/env bash" enhances portability</title>
<updated>2011-05-27T21:03:28Z</updated>
<author>
<name>Joel Borggrén-Franck</name>
<email>jbf@codehouse.se</email>
</author>
<published>2010-12-01T20:27:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3fa843216c918fe4a6151e55947cf3a7f46fcdb5'/>
<id>urn:sha1:3fa843216c918fe4a6151e55947cf3a7f46fcdb5</id>
<content type='text'>
Change #!/bin/bash at start of tests to "#!/usr/bin/env bash". That way
systems running on bash &lt; 4 can prepend bash &gt;= 4 to path before
running the tests.
</content>
</entry>
<entry>
<title>test: Add a new test_expect_equal_failure</title>
<updated>2010-10-23T00:01:34Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-23T00:01:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6307f306fd162cae12a39df3f291ecba2823fc58'/>
<id>urn:sha1:6307f306fd162cae12a39df3f291ecba2823fc58</id>
<content type='text'>
Which allows us to have a known-broken test that would otherwise use
test_expect_equal.
</content>
</entry>
</feed>
