]> rtime.felk.cvut.cz Git - notmuch.git/commitdiff
test: Print section names, and rename all test sections
authorCarl Worth <cworth@cworth.org>
Mon, 20 Sep 2010 21:36:31 +0000 (14:36 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 20 Sep 2010 21:38:56 +0000 (14:38 -0700)
Now that we can usefully pass section names via the NOTMUCH_SKIP_TESTS
environment variable, it's useful to actually print those names out
for the user. Then, since we're now printing these names, let's use
nicer names, (not excessively long but also not using abbreviations
like "msg").

test/author-order [moved from test/author-reordering with 100% similarity]
test/encoding [moved from test/encoding-issues with 100% similarity]
test/from-guessing [moved from test/from-line-heuristics with 100% similarity]
test/long-id [moved from test/long-msgid with 100% similarity]
test/notmuch-test
test/test-lib.sh
test/thread-order [moved from test/threading-out-of-order with 100% similarity]

similarity index 100%
rename from test/author-reordering
rename to test/author-order
similarity index 100%
rename from test/encoding-issues
rename to test/encoding
similarity index 100%
rename from test/from-line-heuristics
rename to test/from-guessing
similarity index 100%
rename from test/long-msgid
rename to test/long-id
index 294c3fd7b7df667e857097f4f19b53214d62691f..fc1a66bfaf976c1ba48a62395a5957060165ff5a 100755 (executable)
@@ -8,7 +8,7 @@
 
 cd $(dirname "$0")
 
-TESTS="basic new search json thread-naming reply dump-restore uuencode threading-out-of-order author-reordering from-line-heuristics long-msgid encoding-issues"
+TESTS="basic new search json thread-naming reply dump-restore uuencode thread-order author-order from-guessing long-id encoding"
 
 # Clean up any results from a previous run
 rm -r test-results >/dev/null 2>/dev/null
index b21b4358f7c70791e7ca6c7d7a20706058cb5ff6..7688fe0e27dd9ec0bd048731af51b0dcdb340c6f 100644 (file)
@@ -154,7 +154,7 @@ then
        exit 0
 fi
 
-echo "Testing ${test_description}"
+echo $(basename "$0"): "Testing ${test_description}"
 
 exec 5>&1
 if test "$verbose" = "t"