From: Tomi Ollila <tomi.ollila@iki.fi>
To: notmuch@notmuchmail.org
Cc: tomi.ollila@iki.fi
Subject: [PATCH v2] test: NOTMUCH_SKIP_TESTS accepts test names with or without Tddd- prefix
Date: Tue, 4 Mar 2014 22:38:21 +0200 [thread overview]
Message-ID: <1393965501-16626-1-git-send-email-tomi.ollila@iki.fi> (raw)
In-Reply-To: <1393957666-9684-1-git-send-email-tomi.ollila@iki.fi>
The test names assigned to NOTMUCH_SKIP_TESTS variable can now be given
with or without the Tddd- prefix for tester convenience:
The test name without Tddd -prefix stays constant even when test filenames
are renumbered.
The test name with Tddd -prefix is printed out when tests run.
---
this obsoletes id:1393957666-9684-1-git-send-email-tomi.ollila@iki.fi
test/test-lib.sh | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/test/test-lib.sh b/test/test-lib.sh
index 78af170..306ad01 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -825,6 +825,12 @@ test_skip () {
case $this_test.$test_count in
$skp)
to_skip=t
+ break
+ esac
+ case $this_test_bare.$test_count in
+ $skp)
+ to_skip=t
+ break
esac
done
if test -z "$to_skip" && test -n "$prereq" &&
@@ -1207,6 +1213,12 @@ do
case "$this_test" in
$skp)
to_skip=t
+ break
+ esac
+ case "$this_test_bare" in
+ $skp)
+ to_skip=t
+ break
esac
done
case "$to_skip" in
--
1.8.5.3
next prev parent reply other threads:[~2014-03-04 20:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-04 18:27 [PATCH 1/1] test: use 'bare' test names in NOTMUCH_SKIP_TESTS comparisons Tomi Ollila
2014-03-04 20:38 ` Tomi Ollila [this message]
2014-03-08 2:33 ` [PATCH v2] test: NOTMUCH_SKIP_TESTS accepts test names with or without Tddd- prefix David Bremner
2014-03-09 13:18 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1393965501-16626-1-git-send-email-tomi.ollila@iki.fi \
--to=tomi.ollila@iki.fi \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).