<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T310-emacs.sh, branch nmweb</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=nmweb</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=nmweb'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2023-07-21T10:41:50Z</updated>
<entry>
<title>test: support testing notmuch as installed</title>
<updated>2023-07-21T10:41:50Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-04-09T14:26:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ec26eeaeec87781dee7dbf720103a5bc9b6bba5d'/>
<id>urn:sha1:ec26eeaeec87781dee7dbf720103a5bc9b6bba5d</id>
<content type='text'>
We put some effort into testing the built copy rather than some
installed copy. On the other hand for people like packagers, testing
the installed copy is also of interest.

When NOTMUCH_TEST_INSTALLED is set to a nonempty value, tests do not
require a built notmuch tree or running configure.

Some of the tests marked as broken when running against installed
notmuch are probably fixable.
</content>
</entry>
<entry>
<title>test/emacs: split out tagging related tests</title>
<updated>2022-02-25T12:37:50Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-12T20:27:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c4c6045058456ea0fb057f7690b91077f1b527b8'/>
<id>urn:sha1:c4c6045058456ea0fb057f7690b91077f1b527b8</id>
<content type='text'>
T310-emacs is one of the largest and longest running sets of
tests. Splitting out the tagging operations will help maintainability
as well as potentially improve the parallel running time of the test
suite. Some slowdown in running the tests sequentially may result
since there is repeated setup.
</content>
</entry>
<entry>
<title>CLI: print extra headers only for non-replies</title>
<updated>2022-01-19T01:26:45Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-19T01:26:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=87d5a5a8aa323077c0b79fce42d062839eb2ff2d'/>
<id>urn:sha1:87d5a5a8aa323077c0b79fce42d062839eb2ff2d</id>
<content type='text'>
If in the future we decide to output extra headers for replies, this
should be controlled by a separate configuration option.
</content>
</entry>
<entry>
<title>test/emacs: known broken test for reply with extra headers set.</title>
<updated>2022-01-19T01:09:56Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-18T13:39:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2d036dbc3b6e48b12ab3e8aa0cbe713d2ef96854'/>
<id>urn:sha1:2d036dbc3b6e48b12ab3e8aa0cbe713d2ef96854</id>
<content type='text'>
Although it makes sense for the extra headers to be added to the copy
of the message headers included in the sexp/json, it is a bit
surprising for them to show in the new message constructed for the
reply, especially when, as here, they are always missing/empty.
</content>
</entry>
<entry>
<title>emacs: wrap make-process</title>
<updated>2021-09-11T13:27:38Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-29T19:23:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=eb226437e1c0da6da86c04c78cbdd2020b982ad6'/>
<id>urn:sha1:eb226437e1c0da6da86c04c78cbdd2020b982ad6</id>
<content type='text'>
Provide a safe working directory.
</content>
</entry>
<entry>
<title>test/emacs: test for notmuch-search with nonexistent CWD</title>
<updated>2021-09-11T13:22:24Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-29T19:23:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=88224bde6248ed03a1c548e437abb12caa382b79'/>
<id>urn:sha1:88224bde6248ed03a1c548e437abb12caa382b79</id>
<content type='text'>
(At least) notmuch-start-notmuch needs to be updated to set a safe
working directory.
</content>
</entry>
<entry>
<title>test/emacs: test for functions in notmuch-search-result-format.</title>
<updated>2021-09-09T02:01:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-30T19:49:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dc8262bd336f1c406e5705ec8cb5029f1bacd524'/>
<id>urn:sha1:dc8262bd336f1c406e5705ec8cb5029f1bacd524</id>
<content type='text'>
Based on the commit message in id:20210221151902.2301690-3-dme@dme.org

Add the function notmuch-test-result-flags to test-lib.el to avoid
repeating it in 3 T*.sh files.
</content>
</entry>
<entry>
<title>CLI: define and use format version 5</title>
<updated>2021-08-22T14:05:13Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-22T00:00:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=731697d671749a13634a2a4b843ce62f2927f64f'/>
<id>urn:sha1:731697d671749a13634a2a4b843ce62f2927f64f</id>
<content type='text'>
This is a bit of a cheat, since the format does not actually
change. On the other hand it is fairly common to do something like
this to shared libary SONAMEs when the ABI changes in some subtle way.
It does rely on the format-version argument being early enough on the
command line to generate a sensible error message.
</content>
</entry>
<entry>
<title>emacs: update default mailing list archives for stashing links</title>
<updated>2021-06-05T18:39:53Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2021-05-21T12:51:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=87234a8ef3aed65f131348388c36799f1741e327'/>
<id>urn:sha1:87234a8ef3aed65f131348388c36799f1741e327</id>
<content type='text'>
Gmane web interface is long gone, remove it. Make MARC the new
default. Update LKML to Lore, where it already redirects anyway. Also
add Notmuch web archive.
</content>
</entry>
<entry>
<title>test: source $NOTMUCH_SRCDIR/test/test-lib-emacs.sh</title>
<updated>2021-06-03T12:29:27Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2021-05-23T07:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=572af2795007464ffbf9cd4656e0e5736d78d362'/>
<id>urn:sha1:572af2795007464ffbf9cd4656e0e5736d78d362</id>
<content type='text'>
Sourcing test-lib.sh will cd to TMP_DIRECTORY, so
relative path in $0 will not work in previous version
 . $(dirname "$0")/test-lib-emacs.sh

Now individual test scripts -- e.g. ./test/T310-emacs.sh
will work.
</content>
</entry>
</feed>
