<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/basic, branch master</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=master</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2014-01-13T18:16:46Z</updated>
<entry>
<title>test: renamed test scripts to format T\d\d\d-name.sh</title>
<updated>2014-01-13T18:16:46Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2014-01-09T15:18:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a755c9d6a9099366cc82ba3a4bee8e6d2b83d529'/>
<id>urn:sha1:a755c9d6a9099366cc82ba3a4bee8e6d2b83d529</id>
<content type='text'>
All test scripts to be executed are now named as T\d\d\d-name.sh,
numers in increments of 10.

This eases adding new tests and developers to see which are test scripts
that are executed by test suite and in which order.
</content>
</entry>
<entry>
<title>test: basic: drop 'ensure all available tests are run'</title>
<updated>2014-01-13T18:16:35Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2014-01-09T15:18:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=84719b08f757a6079f4c3331d0c476d19b265948'/>
<id>urn:sha1:84719b08f757a6079f4c3331d0c476d19b265948</id>
<content type='text'>
When naming test scripts in format 'T\d\d\d-name.sh' the list of
tests to run are created dynamically. This makes test

'Ensure that all available tests will be run by notmuch-test'

in test/basic obsolete.
</content>
</entry>
<entry>
<title>test: implement and document NOTMUCH_TEST_QUIET variable usage</title>
<updated>2013-12-09T15:29:11Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2013-12-05T12:46:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=88e6a2995a0108f6ceb94924bd7e6c3623c43dec'/>
<id>urn:sha1:88e6a2995a0108f6ceb94924bd7e6c3623c43dec</id>
<content type='text'>
When NOTMUCH_TEST_QUIET environment variable is set to non-null value
messages when new test script starts and when test PASSes are disabled.
This eases picking the cases when tests FAIL (as those are still printed).
</content>
</entry>
<entry>
<title>test/basic: replaced find -perm +111 with portable alternative</title>
<updated>2013-06-25T05:49:51Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2013-06-07T21:37:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2593df527168ad3502f0d44f4feae76133fc271b'/>
<id>urn:sha1:2593df527168ad3502f0d44f4feae76133fc271b</id>
<content type='text'>
The find option syntax `-perm +111` is deprecated gnu find feature.
The replacement `( -perm -100 -o -perm -10 -o -perm 1 )` should also
work outside of the GNU domain.
</content>
</entry>
<entry>
<title>test: add generator for random "stub" messages</title>
<updated>2012-12-02T19:51:32Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-08-05T18:13:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=76fa93e2a2002940335c941e76e94d69abd71fe9'/>
<id>urn:sha1:76fa93e2a2002940335c941e76e94d69abd71fe9</id>
<content type='text'>
Initial use case is testing dump and restore, so we only have
message-ids and tags.

The message ID's are nothing like RFC compliant, but it doesn't seem
any harder to roundtrip random UTF-8 strings than RFC-compliant ones.

Tags are UTF-8, even though notmuch is in principle more generous than
that.

updated for id:m2wr04ocro.fsf@guru.guru-group.fi

- talk about Unicode value rather some specific encoding
- call talloc_realloc less times
</content>
</entry>
<entry>
<title>test/hex-xcode: new test binary</title>
<updated>2012-12-02T13:14:59Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-06-14T22:08:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4216e830e9a372fa45f482dd710e7ecc2af212ca'/>
<id>urn:sha1:4216e830e9a372fa45f482dd710e7ecc2af212ca</id>
<content type='text'>
This program is used both as a test-bed/unit-tester for
../util/hex-escape.c, and also as a utility in future tests of dump
and restore.
</content>
</entry>
<entry>
<title>test: Abort driver if a test script aborts</title>
<updated>2012-11-29T13:24:12Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-11-28T04:13:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ec59896de06cf76d6d7ee6ff7bc46df522c7afe3'/>
<id>urn:sha1:ec59896de06cf76d6d7ee6ff7bc46df522c7afe3</id>
<content type='text'>
Previously, if a test script aborted (e.g., because it passed too few
arguments to a test function), the test driver loop would simply
continue on to the next test script and the final results would
declare that everything passed (except that the test count would look
suspiciously low, but maybe you just misremembered how many tests
there were).

Now, if a test script exits with a non-zero status and did not produce
a final results file, we propagate that failure out of the driver loop
immediately.

To keep this simple, this patch removes the PID from the test-results
file name.  This PID was inherited from the git test system and seems
unnecessary, since the file name already includes the name of the test
script and the test-results directory is created anew for each run.
</content>
</entry>
<entry>
<title>test: expand regex in test/basic</title>
<updated>2012-11-10T20:47:10Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-11-10T19:16:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b173037398ae61ddc1017f94c8a63a71b1b4c3fc'/>
<id>urn:sha1:b173037398ae61ddc1017f94c8a63a71b1b4c3fc</id>
<content type='text'>
Over time, maintaining this very long regex has become irritating,
especially when resolving conflicts.

This patch replaces the call to sed with multiple extra arguments to
find.  Since each test binary is now on it's own line, this should
make resolving conflicts easier.
</content>
</entry>
<entry>
<title>test: add new test tool parse-time for date/time parser</title>
<updated>2012-10-31T19:44:55Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2012-10-30T20:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=519be192501bae330db78af728c4d6e26b9053ee'/>
<id>urn:sha1:519be192501bae330db78af728c4d6e26b9053ee</id>
<content type='text'>
Add a smoke testing tool to support testing the date/time parser
module directly and independent of the rest of notmuch.

Credits to Michal Sojka &lt;sojkam1@fel.cvut.cz&gt; for the stdin parsing
idea and consequent massive improvement in testability.
</content>
</entry>
<entry>
<title>test/basic: use portable args for find</title>
<updated>2012-09-02T02:16:57Z</updated>
<author>
<name>Mike Kelly</name>
<email>pioto@pioto.org</email>
</author>
<published>2012-05-30T07:02:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=02853e983926af73ecbaf57592d132a717ed70ad'/>
<id>urn:sha1:02853e983926af73ecbaf57592d132a717ed70ad</id>
<content type='text'>
`-executable` isn't available in FreeBSD's version of find, so use a
more portable version, `-perm +111`.
</content>
</entry>
</feed>
