]> git.notmuchmail.org Git - notmuch/commit
test: cleanup basic tests
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Sat, 26 Nov 2011 06:12:26 +0000 (10:12 +0400)
committerDavid Bremner <bremner@debian.org>
Sat, 26 Nov 2011 17:18:05 +0000 (09:18 -0800)
commitcb9af12a4fa84a86624a04d4eb07efeceeecd02a
tree0b38330d7fe8765d604564ee383938f1f4698cfd
parentfea2c106acd75a8c0a85bc30bbee89682fae13ff
test: cleanup basic tests

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.
test/basic