diff options
author | Tomi Ollila <tomi.ollila@iki.fi> | 2014-03-04 22:38:21 +0200 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-03-09 10:09:26 -0300 |
commit | d8ba7bee7d3dd3b7b47c7bfd96434effef7227f0 (patch) | |
tree | 23958f57caa8b76f24cc5a9518b6e37455dd91d6 /test | |
parent | b21f0f68029173035de6616b63320b36d5b1d009 (diff) |
test: NOTMUCH_SKIP_TESTS accepts test names with or without Tddd- prefix
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/test-lib.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh index 9dad1265..9222689d 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 |