<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/test-lib.sh, branch 0.19</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.19</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.19'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2014-10-25T09:38:18Z</updated>
<entry>
<title>Merge tag '0.18.2_rc1'</title>
<updated>2014-10-25T09:38:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-10-25T09:38:18Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ce44657c9e4919b1e4bbbbbe37dbd72257d40736'/>
<id>urn:sha1:ce44657c9e4919b1e4bbbbbe37dbd72257d40736</id>
<content type='text'>
notmuch 0.18.2~rc1 release

Conflicts:
	NEWS
	debian/changelog
</content>
</entry>
<entry>
<title>test: kill '"filename": "signature.asc"' from json output</title>
<updated>2014-10-25T08:39:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-10-25T07:57:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e32bb2009930e9daf0d8addfc584289abdd3332a'/>
<id>urn:sha1:e32bb2009930e9daf0d8addfc584289abdd3332a</id>
<content type='text'>
This starts to appear with emacs24.4, so we can't easily have it in
our expected output.
</content>
</entry>
<entry>
<title>test: make test_emacs call post-command-hook</title>
<updated>2014-07-13T15:33:53Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-05-09T00:20:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=eed6c75556e18d943ac690598edceef0c4ee59d5'/>
<id>urn:sha1:eed6c75556e18d943ac690598edceef0c4ee59d5</id>
<content type='text'>
The unread/read changes will use the post-command-hook. test_emacs
does not call the post-command-hook. This adds a notmuch-test-progn
which takes a list of commands as argument and executes them in turn
but runs the post-command-hook after each one.

The caller can batch operations (ie to stop post-command-hook from
being interleaved) by wrapping the batch of operations inside a progn.

We also explicitly run the post-command-hook before getting the output
from a test; this makes sense as this will be a place the user would
be seeing the information.
</content>
</entry>
<entry>
<title>test: use --quick when starting emacs.</title>
<updated>2014-06-14T01:55:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-05-29T00:26:27Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2d722bf032bbd4b08b415369e07a3c9e26f2472a'/>
<id>urn:sha1:2d722bf032bbd4b08b415369e07a3c9e26f2472a</id>
<content type='text'>
At least in emacs24, this removes the "site-lisp" directories from the
load path in addition to enforcing --no-site-lisp --no-init-file.

This works around a slightly mysterious bug on Debian that causes
test-lib.el not to load when there is cl-lib.el(c) in some site-lisp
directory.  It should be harmless in general since we really don't
want to load any files from addon packages to emacs.
</content>
</entry>
<entry>
<title>test: add notmuch_search_files_sanitize and use it</title>
<updated>2014-03-11T22:22:52Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-03-09T13:19:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7630f300ba52f4aab22ee696fe1507d0ef9790bc'/>
<id>urn:sha1:7630f300ba52f4aab22ee696fe1507d0ef9790bc</id>
<content type='text'>
We do this in a lot of places, so make it a helper in the test-lib.
</content>
</entry>
<entry>
<title>test: add utility function to sort a json list</title>
<updated>2014-03-11T22:22:52Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-03-11T16:52:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8c37821a0d09db8a231e0ef31d5862cbf902f77b'/>
<id>urn:sha1:8c37821a0d09db8a231e0ef31d5862cbf902f77b</id>
<content type='text'>
So far we only need this one place, but it's a bit messy to inline
</content>
</entry>
<entry>
<title>support for generating decreasing dates in bash 4.0 and 4.1</title>
<updated>2014-03-09T13:09:51Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2014-02-10T21:15:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e79d2fc993dcd6fb328c31b2a0466cf7413a8276'/>
<id>urn:sha1:e79d2fc993dcd6fb328c31b2a0466cf7413a8276</id>
<content type='text'>
The printf builtin "%(fmt)T" specifier (which allows time values
to use strftime-like formatting) is introduced in bash 4.2.

Trying to execute this in pre-4.2 bash will fail -- and if this
happens execute the fallback piece of perl code to do the same thing.
</content>
</entry>
<entry>
<title>test: NOTMUCH_SKIP_TESTS accepts test names with or without Tddd- prefix</title>
<updated>2014-03-09T13:09:26Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2014-03-04T20:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d8ba7bee7d3dd3b7b47c7bfd96434effef7227f0'/>
<id>urn:sha1:d8ba7bee7d3dd3b7b47c7bfd96434effef7227f0</id>
<content type='text'>
The test names assigned to NOTMUCH_SKIP_TESTS variable can now be given
with or without the Tddd- prefix for tester convenience:

The test name without Tddd -prefix stays constant even when test filenames
are renumbered.

The test name with Tddd -prefix is printed out when tests run.
</content>
</entry>
<entry>
<title>test: Print the number of the test along with its name</title>
<updated>2014-03-06T11:46:48Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2014-03-04T06:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=81ede90597cb35ea66d473a50c355fe77ee585fe'/>
<id>urn:sha1:81ede90597cb35ea66d473a50c355fe77ee585fe</id>
<content type='text'>
Previously, we stripped the "Tnnn-" part from the test name when
printing its description at the beginning of each test.  However, this
makes it difficult to find the source script for a test (e.g., when a
test fails).  Put this prefix back.
</content>
</entry>
<entry>
<title>test: leave T\d\d\d- in variable $this_test and introduce $this_test_bare</title>
<updated>2014-01-18T18:40:11Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2014-01-15T19:02:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=86e24eab8a87daabb3edebd4992379a5a4e2f0d2'/>
<id>urn:sha1:86e24eab8a87daabb3edebd4992379a5a4e2f0d2</id>
<content type='text'>
Script `notmuch-test` expects the results file have T\d\d\d- part
intact so the results files (and some test output files) are now
name as such.
Without this change `notmuch-test` will exit in case the test
script it was executing exited with nonzero value.

The T\d\d\d- part is dropped in new variable $this_test_bare which is
used in progress informational messages and when loading .el files in
emacs tests (whenever $this_test_bare.el exists).
</content>
</entry>
</feed>
