mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +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'
|
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
|
# ensure initial 'notmuch new' is run by memory_start
|
||||||
uncache_database
|
uncache_database
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
test_description='dump and restore'
|
test_description='dump and restore'
|
||||||
|
|
||||||
. ./perf-test-lib.sh || exit 1
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||||
|
|
||||||
memory_start
|
memory_start
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
test_description='show'
|
test_description='show'
|
||||||
|
|
||||||
. ./perf-test-lib.sh || exit 1
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||||
|
|
||||||
memory_start
|
memory_start
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
test_description='search'
|
test_description='search'
|
||||||
|
|
||||||
. ./perf-test-lib.sh || exit 1
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||||
|
|
||||||
memory_start
|
memory_start
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
test_description='search'
|
test_description='search'
|
||||||
|
|
||||||
. ./perf-test-lib.sh || exit 1
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||||
|
|
||||||
memory_start
|
memory_start
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
test_description='reindex'
|
test_description='reindex'
|
||||||
|
|
||||||
. ./perf-test-lib.sh || exit 1
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||||
|
|
||||||
memory_start
|
memory_start
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
test_description='search'
|
test_description='search'
|
||||||
|
|
||||||
. ./perf-test-lib.sh || exit 1
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||||
|
|
||||||
memory_start
|
memory_start
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
test_description='notmuch new'
|
test_description='notmuch new'
|
||||||
|
|
||||||
. ./perf-test-lib.sh || exit 1
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||||
|
|
||||||
uncache_database
|
uncache_database
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
test_description='dump and restore'
|
test_description='dump and restore'
|
||||||
|
|
||||||
. ./perf-test-lib.sh || exit 1
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||||
|
|
||||||
time_start
|
time_start
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
test_description='tagging'
|
test_description='tagging'
|
||||||
|
|
||||||
. ./perf-test-lib.sh || exit 1
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||||
|
|
||||||
time_start
|
time_start
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
test_description='tagging'
|
test_description='tagging'
|
||||||
|
|
||||||
. ./perf-test-lib.sh || exit 1
|
. $(dirname "$0")/perf-test-lib.sh || exit 1
|
||||||
|
|
||||||
time_start
|
time_start
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue