mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
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:
parent
b21f0f6802
commit
d8ba7bee7d
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue