diff options
author | David Bremner <bremner@debian.org> | 2012-12-16 10:55:51 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-12-25 08:49:24 -0400 |
commit | 047cd7a595f760a23415b9e38d7136325f28b114 (patch) | |
tree | 6bb6dc40af3978055628082264c8d0453541ef0c /performance-test | |
parent | f43b23f8e02dfd973a17e02d60f1e14e8b9da301 (diff) |
perf-test: rename current tests as "time tests"
This is almost entirely renaming files, except for updating a few
references to those file names, and changing the makefile target.
A new set of memory tests will be run separately because they take
much longer.
Diffstat (limited to 'performance-test')
-rw-r--r-- | performance-test/Makefile.local | 2 | ||||
-rw-r--r-- | performance-test/README | 9 | ||||
-rwxr-xr-x | performance-test/T00-new (renamed from performance-test/00-new) | 0 | ||||
-rwxr-xr-x | performance-test/T01-dump-restore (renamed from performance-test/01-dump-restore) | 0 | ||||
-rwxr-xr-x | performance-test/T02-tag (renamed from performance-test/02-tag) | 0 | ||||
-rwxr-xr-x | performance-test/notmuch-time-test (renamed from performance-test/notmuch-perf-test) | 6 |
6 files changed, 9 insertions, 8 deletions
diff --git a/performance-test/Makefile.local b/performance-test/Makefile.local index 3834e4d7..57beb443 100644 --- a/performance-test/Makefile.local +++ b/performance-test/Makefile.local @@ -10,7 +10,7 @@ SIGFILE := ${TXZFILE}.asc TEST_SCRIPT := ${dir}/notmuch-perf-test DEFAULT_URL := http://notmuchmail.org/releases/${CORPUS_NAME} -perf-test: setup-perf-test all +time-test: setup-perf-test all $(TEST_SCRIPT) $(OPTIONS) .PHONY: download-corpus setup-perf-test diff --git a/performance-test/README b/performance-test/README index 14816602..d1fb6de4 100644 --- a/performance-test/README +++ b/performance-test/README @@ -36,8 +36,8 @@ for a list of mirrors. Running tests ------------- -The easiest way to run performance tests is to say "make perf-test", (or -simply run the notmuch-perf-test script). Either command will run all +The easiest way to run performance tests is to say "make time-test", (or +simply run the notmuch-time-test script). Either command will run all available performance tests. Alternately, you can run a specific subset of tests by simply invoking @@ -51,7 +51,7 @@ Each test script supports the following arguments Writing tests ------------- -Have a look at "01-dump-restore" for an example. Sourcing +Have a look at "T01-dump-restore" for an example. Sourcing "perf-test-lib.sh" is mandatory. Utility functions include - 'add_email_corpus' unpacks a set of messages and adds them to the database. @@ -65,4 +65,5 @@ Have a look at "01-dump-restore" for an example. Sourcing Scripts are run in the order specified in notmuch-perf-test. In the future this order might be chosen automatically so please follow the -convention of starting the name with two digits to specify the order. +convention of starting the name with 'T' followed by two digits to +specify the order. diff --git a/performance-test/00-new b/performance-test/T00-new index 553bb8b6..553bb8b6 100755 --- a/performance-test/00-new +++ b/performance-test/T00-new diff --git a/performance-test/01-dump-restore b/performance-test/T01-dump-restore index b2ff9400..b2ff9400 100755 --- a/performance-test/01-dump-restore +++ b/performance-test/T01-dump-restore diff --git a/performance-test/02-tag b/performance-test/T02-tag index 78cecccc..78cecccc 100755 --- a/performance-test/02-tag +++ b/performance-test/T02-tag diff --git a/performance-test/notmuch-perf-test b/performance-test/notmuch-time-test index fc39d8a9..54a208f7 100755 --- a/performance-test/notmuch-perf-test +++ b/performance-test/notmuch-time-test @@ -17,9 +17,9 @@ fi cd $(dirname "$0") TESTS=" - 00-new - 01-dump-restore - 02-tag + T00-new + T01-dump-restore + T02-tag " for test in $TESTS; do |