diff options
| author | David Bremner <david@tethera.net> | 2017-12-02 08:53:04 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-12-04 21:04:38 -0400 |
| commit | 1e4e8e3bf564ea190b42e9347b22c62fa6b78396 (patch) | |
| tree | 19d08790fb0813d2fadb3b67a0d2cf56a9b34875 /test/test-lib-common.sh | |
| parent | cf08295c503a2cefc4c51c5398f3fc1159521ff1 (diff) | |
test: unbreak performance tests
In 8e7fb88237aedea22 Jani replaced the use of $(pwd -P) to find the
TEST_DIRECTORY in order to better support out of tree
builds. Unfortunately the performance-tests need a different value for
the variable and were thus broken.
This commit splits out the setting of this variable for the two sets
of tests. Performance tests still don't work out of tree, because
the handling of the downloaded corpus needs to be updated.
Diffstat (limited to 'test/test-lib-common.sh')
| -rw-r--r-- | test/test-lib-common.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/test-lib-common.sh b/test/test-lib-common.sh index 6c3571d4..2f7950ac 100644 --- a/test/test-lib-common.sh +++ b/test/test-lib-common.sh @@ -41,10 +41,6 @@ restore_database () { cp -pR $TMP_DIRECTORY/notmuch-dir-backup."${test_name}" ${MAIL_DIR}/.notmuch } -# Test the binaries we have just built. The tests are kept in -# test/ subdirectory and are run in 'trash directory' subdirectory. -TEST_DIRECTORY=$NOTMUCH_BUILDDIR/test - # Prepend $TEST_DIRECTORY/../lib to LD_LIBRARY_PATH, to make tests work # on systems where ../notmuch depends on LD_LIBRARY_PATH. LD_LIBRARY_PATH=${TEST_DIRECTORY%/*}/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} |
