diff options
| author | David Bremner <david@tethera.net> | 2023-04-09 11:26:26 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-07-21 07:41:50 -0300 |
| commit | ec26eeaeec87781dee7dbf720103a5bc9b6bba5d (patch) | |
| tree | 421ad3947e7c06066663f3e53a3c41af5605057f /test/T000-basic.sh | |
| parent | 73f3081160fb80345f3953cbdeba340975375325 (diff) | |
test: support testing notmuch as installed
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.
Diffstat (limited to 'test/T000-basic.sh')
| -rwxr-xr-x | test/T000-basic.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/T000-basic.sh b/test/T000-basic.sh index a2f4d93f..642f918d 100755 --- a/test/T000-basic.sh +++ b/test/T000-basic.sh @@ -66,6 +66,7 @@ test_begin_subtest 'NOTMUCH_CONFIG is set and points to an existing file' test_expect_success 'test -f "${NOTMUCH_CONFIG}"' test_begin_subtest 'PATH is set to build directory' +test_subtest_broken_for_installed test_expect_equal \ "$(dirname ${TEST_DIRECTORY})" \ "$(echo $PATH|cut -f1 -d: | sed -e 's,/test/valgrind/bin$,,')" |
