<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/README, branch 0.35_rc0</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.35_rc0</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.35_rc0'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2021-01-17T17:24:04Z</updated>
<entry>
<title>test: add (back) upgrade tests</title>
<updated>2021-01-17T17:24:04Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-01-17T12:35:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6a7b61b1d50bf25ebce61fa58af1c195951b387c'/>
<id>urn:sha1:6a7b61b1d50bf25ebce61fa58af1c195951b387c</id>
<content type='text'>
In ee897cab8b721 the upgrade tests from pre v3 databases were
removed. The reasons for that are still valid, but we should still
test the code paths that do the upgrade, and it is relatively
straightforward to do that for v3 to v3 upgrades.
</content>
</entry>
<entry>
<title>test: update README to reflect dropping upgrade tests</title>
<updated>2020-08-16T13:41:44Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2020-08-15T12:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=25f9a42287a7a2ad58a1dff5ccfe75fe7e26d8db'/>
<id>urn:sha1:25f9a42287a7a2ad58a1dff5ccfe75fe7e26d8db</id>
<content type='text'>
These test databases have been unneeded since ee897cab8.
</content>
</entry>
<entry>
<title>tests: environment variable to specify that tests should be serialized</title>
<updated>2019-05-07T09:55:31Z</updated>
<author>
<name>Jameson Graef Rollins</name>
<email>jrollins@finestructure.net</email>
</author>
<published>2019-05-06T04:44:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=eeff4319960d88e60c202dac4047913262d67d85'/>
<id>urn:sha1:eeff4319960d88e60c202dac4047913262d67d85</id>
<content type='text'>
If NOTMUCH_TEST_SERIALIZE is non-null all tests will be run in series,
rather than in parallel.
</content>
</entry>
<entry>
<title>test: remove --root option and fix TMP_DIRECTORY cleanup</title>
<updated>2017-10-21T14:32:20Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-10-21T11:58:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d455c8b74a2a63454779445e14ac3e81141b204a'/>
<id>urn:sha1:d455c8b74a2a63454779445e14ac3e81141b204a</id>
<content type='text'>
The primary motivation here is to fix TMP_DIRECTORY cleanup prior to
running each test when the current working directory is not the test
subdirectory. Tests with failures would leave their TMP_DIRECTORY
directory behind for debugging, and repeated out-of-tree test runs
would have old temp directories. (This lead to e.g. T310-emacs.sh
hanging because emacs would prompt for overwriting files.)

We remove the likely anyway defunct --root test option while at it,
just to be on the safe side when doing 'rm -rf' on the TMP_DIRECTORY.
</content>
</entry>
<entry>
<title>Fix orthography</title>
<updated>2017-07-18T09:50:44Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2017-07-17T22:16:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=87bdfbc91f65cb1031ef0ac8a804759f2061ac10'/>
<id>urn:sha1:87bdfbc91f65cb1031ef0ac8a804759f2061ac10</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: add compatibility layer</title>
<updated>2017-03-25T10:56:52Z</updated>
<author>
<name>Mikhail</name>
<email>mp39590@gmail.com</email>
</author>
<published>2017-03-09T13:32:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9b7dbed58ebd3aeee16b044fdffda6b39e90643e'/>
<id>urn:sha1:9b7dbed58ebd3aeee16b044fdffda6b39e90643e</id>
<content type='text'>
Make test-lib-common.sh load test-lib-&lt;$PLATFORM&gt;.sh to create
additional shim for platform specifics.

Use test-lib-FREEBSD.sh to call GNU utilities instead of native ones.

- amended by db following Tomi's suggestions
</content>
</entry>
<entry>
<title>test: require test_begin_subtest before test_expect_code</title>
<updated>2017-03-09T13:03:40Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-02-26T13:43:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0497d695ca796c4d19ad5ec08788bbb1f400c58c'/>
<id>urn:sha1:0497d695ca796c4d19ad5ec08788bbb1f400c58c</id>
<content type='text'>
Unify the subtests by requiring test_begin_subtest before
test_expect_code. (Similar change for test_expect_success has already
been done.)

This increases clarity in the test scripts by having a separate line
for the start of the subtest with the heading, and makes it possible
to simplify the test infrastructure by making all subtests similar.
</content>
</entry>
<entry>
<title>test: require test_begin_subtest before test_expect_success</title>
<updated>2017-03-09T13:01:21Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-02-26T13:43:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d0cd253b37646d9364d046e1d3edb022a58c105a'/>
<id>urn:sha1:d0cd253b37646d9364d046e1d3edb022a58c105a</id>
<content type='text'>
Unify the subtests by requiring test_begin_subtest before
test_expect_success. (Similar change for test_expect_code will
follow.)

This increases clarity in the test scripts by having a separate line
for the start of the subtest with the heading, and makes it possible
to simplify the test infrastructure by making all subtests similar.
</content>
</entry>
<entry>
<title>test: copyright information updates</title>
<updated>2016-05-19T10:56:58Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2016-05-06T15:41:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b183f2635eaf323066f26c7ca22d931d4f4ccd3a'/>
<id>urn:sha1:b183f2635eaf323066f26c7ca22d931d4f4ccd3a</id>
<content type='text'>
Files in test directories had only copyright of a single individual,
of which code was adapted here as a base of the test system.
Since then many Notmuch Developers have contributed to the test
system, which is now acknowledged with a constant string in some
of the test files.

The README file in test directory instructed new files contain a
copyright notice, but that has never been done (and it is also not
needed). To simplify things a bit (and lessen confusion) this
instruction is now removed.

As a side enchangement, all of the 3 entries in the whole source
tree cd'ing to `dirname` of "$0" now uses syntax cd "$(dirname "$0")".
This makes these particular lines work when current working directory
is e.g. /c/Program Files/notmuch/test/.
(Probably it would fail elsewhere, though.)
</content>
</entry>
<entry>
<title>test/README: have matching test script file names</title>
<updated>2016-03-05T00:45:19Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2016-02-12T19:17:00Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f8cc320694392a44908d49fbca7434f883743265'/>
<id>urn:sha1:f8cc320694392a44908d49fbca7434f883743265</id>
<content type='text'>
A while ago test script names were changed to format
Tddd-basename.sh. Update README to reflect that.

While at it, included some small requirements updates.
</content>
</entry>
</feed>
