From: Dmitry Kurochkin Date: Sun, 27 Nov 2011 18:36:15 +0000 (+0400) Subject: test: skip all subtests if external dependencies are missing during init X-Git-Tag: 0.11_rc1~89 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=f3254667283bc51b97a2d35aa8438420528ba9b3;hp=f3254667283bc51b97a2d35aa8438420528ba9b3;p=notmuch test: skip all subtests if external dependencies are missing during init Some tests (e.g. crypto) do a common initialization required for all subtests. The patch adds a check for missing external dependencies during this initialization. If any prerequisites are missing, all subtests are skipped. The check is run on the first call of test_reset_state_ function, so no changes for the tests are needed. ---