]> the.earth.li Git - onak.git/commit
Cleanup tests to be able to run from a different directory
authorJonathan McDowell <noodles@earth.li>
Wed, 10 Apr 2019 18:05:10 +0000 (19:05 +0100)
committerJonathan McDowell <noodles@earth.li>
Wed, 10 Apr 2019 18:05:10 +0000 (19:05 +0100)
commit94422621d7c1300ae7001d13590570f9d4ad2a07
tree2b17042b9c1b744a6bf6d7207542df91ecdf8159
parentadc800dbc424a1e246dd4a82a0c2e88eeda25531
Cleanup tests to be able to run from a different directory

runtests assumes its run from the directory it lives in, and that this
is the build directory. Improve it to be able to cope with a build in a
different directory to the source and work out the correct paths.
16 files changed:
runtests
t/all-020-get.t
t/all-030-get-fail.t
t/all-040-index-text.t
t/all-050-get-hash.t
t/all-060-get-fingerprint.t
t/all-070-get-short.t
t/all-080-get-subkey.t
t/all-090-get-subkey-short.t
t/db4-000-add.t
t/file-000-add.t
t/file-010-del.t
t/fs-000-add.t
t/fs-010-del.t
t/test-in.conf
t/test-in.ini