mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
perf-test: use $(dirname "$0") for sourcing perf-test-lib.sh
Don't assume the tests are always run from within the source tree.
This commit is contained in:
parent
a863de1e43
commit
fd36ae9f51
11 changed files with 11 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
test_description='notmuch new'
|
||||
|
||||
. ./perf-test-lib.sh || exit 1
|
||||
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||
|
||||
# ensure initial 'notmuch new' is run by memory_start
|
||||
uncache_database
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test_description='dump and restore'
|
||||
|
||||
. ./perf-test-lib.sh || exit 1
|
||||
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||
|
||||
memory_start
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test_description='show'
|
||||
|
||||
. ./perf-test-lib.sh || exit 1
|
||||
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||
|
||||
memory_start
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test_description='search'
|
||||
|
||||
. ./perf-test-lib.sh || exit 1
|
||||
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||
|
||||
memory_start
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test_description='search'
|
||||
|
||||
. ./perf-test-lib.sh || exit 1
|
||||
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||
|
||||
memory_start
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test_description='reindex'
|
||||
|
||||
. ./perf-test-lib.sh || exit 1
|
||||
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||
|
||||
memory_start
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test_description='search'
|
||||
|
||||
. ./perf-test-lib.sh || exit 1
|
||||
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||
|
||||
memory_start
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test_description='notmuch new'
|
||||
|
||||
. ./perf-test-lib.sh || exit 1
|
||||
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||
|
||||
uncache_database
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test_description='dump and restore'
|
||||
|
||||
. ./perf-test-lib.sh || exit 1
|
||||
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||
|
||||
time_start
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test_description='tagging'
|
||||
|
||||
. ./perf-test-lib.sh || exit 1
|
||||
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||
|
||||
time_start
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
test_description='tagging'
|
||||
|
||||
. ./perf-test-lib.sh || exit 1
|
||||
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||
|
||||
time_start
|
||||
|
||||
|
|
Loading…
Reference in a new issue