]> rtime.felk.cvut.cz Git - notmuch.git/commitdiff
perf-test: rename current tests as "time tests"
authorDavid Bremner <bremner@debian.org>
Sun, 16 Dec 2012 14:55:51 +0000 (10:55 -0400)
committerDavid Bremner <bremner@debian.org>
Tue, 25 Dec 2012 12:49:24 +0000 (08:49 -0400)
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.

performance-test/Makefile.local
performance-test/README
performance-test/T00-new [moved from performance-test/00-new with 100% similarity]
performance-test/T01-dump-restore [moved from performance-test/01-dump-restore with 100% similarity]
performance-test/T02-tag [moved from performance-test/02-tag with 100% similarity]
performance-test/notmuch-time-test [moved from performance-test/notmuch-perf-test with 93% similarity]

index 3834e4d70e5f28b019f50f9dbc16f30e3f77599f..57beb44329beb3255d8f87947ab993f702e7d21b 100644 (file)
@@ -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
index 14816602125ebb16aef829335b56a935601fba66..d1fb6de4cfa742942998045b5b0da7a8c5a70b20 100644 (file)
@@ -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.
similarity index 93%
rename from performance-test/notmuch-perf-test
rename to performance-test/notmuch-time-test
index fc39d8a97d35686cfcfcb4a82c993120d6fe9ff0..54a208f71f52e55eea1e0a67a1e70b3968f65b4f 100755 (executable)
@@ -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