<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/basic, branch debian/0.17-2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.17-2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.17-2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2013-06-25T05:49:51Z</updated>
<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>
<entry>
<title>test: tests for command-line-arguments.c</title>
<updated>2011-12-09T00:24:24Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-12-07T18:37:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5800a44bd5b77390d2243426f0c82de4d0495a1c'/>
<id>urn:sha1:5800a44bd5b77390d2243426f0c82de4d0495a1c</id>
<content type='text'>
This was needed because no current notmuch code exercises the
NOTMUCH_OPT_STRING style arguments.
</content>
</entry>
<entry>
<title>Build symbol-test with make instead of hardcoding in symbol-hiding.</title>
<updated>2011-11-27T16:03:04Z</updated>
<author>
<name>Amadeusz Żołnowski</name>
<email>aidecoe@aidecoe.name</email>
</author>
<published>2011-11-26T21:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=945196d79b56356aef945fad6f34a6a1a3a97ce1'/>
<id>urn:sha1:945196d79b56356aef945fad6f34a6a1a3a97ce1</id>
<content type='text'>
If symbol-test is built in symbol-hiding with hardcoded g++ invokation,
it's not so easy to pass $(srcdir) which is required to find notmuch.h
when srcdir and builddir are separate directories.
</content>
</entry>
<entry>
<title>test: cleanup basic tests</title>
<updated>2011-11-26T17:18:05Z</updated>
<author>
<name>Dmitry Kurochkin</name>
<email>dmitry.kurochkin@gmail.com</email>
</author>
<published>2011-11-26T06:12:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cb9af12a4fa84a86624a04d4eb07efeceeecd02a'/>
<id>urn:sha1:cb9af12a4fa84a86624a04d4eb07efeceeecd02a</id>
<content type='text'>
Basic test 'Ensure that all available tests will be run by
notmuch-test' compares all tests that are run with listing of test/
directory.  There is a growing list of exceptions for files and
directories which located in the test/ directory but are not tests.
Moreover some (probably buggy) tests do create files in the the test/
directory which may be left behind in case of failure.  This makes the
basic test fail.

The patch changes the test to look only for regular executable files.
This makes the exception list much smaller.  And since no tests should
create executables in the test/ directory (if there are, they should
be fixed), the basic test should not be affected by failed or
interrupted tests.
</content>
</entry>
</feed>
