]> git.notmuchmail.org Git - notmuch/commit
test: remove "Generate some messages" test from raw
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Sat, 10 Mar 2012 01:24:50 +0000 (05:24 +0400)
committerDavid Bremner <bremner@debian.org>
Sun, 18 Mar 2012 12:14:22 +0000 (09:14 -0300)
commit6511b08fb81add535b56a183f278b48a45fc9875
treeab26d607b8d392c9c8eed7a56a190931c906a84e
parent2f2529563002324337d8d3be1e5335d8a1ca7b47
test: remove "Generate some messages" test from raw

Before the change, the first subtest in raw format tests just
generated messages and checked that they are added successfully.  This
is not really a raw format test, it is creating of environment
required for other subtests to run.  The patch removes the first
subtest from raw and replaces it with bare add_message calls, similar
to how it is done in other tests.

TODO: we should check that test environment was created successfully.
Currently, many tests do add_message(), notmuch new and other calls
without checking the results.  We should come up with a general
solution for this, i.e. if any command during test initialization
fails, all tests should be skipped with appropriate error message.
test/raw