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.
This commit is contained in:
Tomi Ollila 2014-03-04 22:38:21 +02:00 committed by David Bremner
parent b21f0f6802
commit d8ba7bee7d

View file

@ -825,6 +825,12 @@ test_skip () {
case $this_test.$test_count in case $this_test.$test_count in
$skp) $skp)
to_skip=t to_skip=t
break
esac
case $this_test_bare.$test_count in
$skp)
to_skip=t
break
esac esac
done done
if test -z "$to_skip" && test -n "$prereq" && if test -z "$to_skip" && test -n "$prereq" &&
@ -1207,6 +1213,12 @@ do
case "$this_test" in case "$this_test" in
$skp) $skp)
to_skip=t to_skip=t
break
esac
case "$this_test_bare" in
$skp)
to_skip=t
break
esac esac
done done
case "$to_skip" in case "$to_skip" in