[PATCH] test: Tnnn-* script file name renames

David Bremner david at tethera.net
Tue Jun 7 04:51:24 PDT 2016


Tomi Ollila <tomi.ollila at iki.fi> writes:

> Over time, new test scripts of any particular "group" are added
> in-between of current test scripts by giving them number that is not
> divisible by 10. Eventually the space between groups fill up (i.e.
> all 10 "slots" are used), or it is just hard to recognize suitable
> number for new test.
>
> Instead of trying hard planning work for grouping these and adding
> more space for the groups (manually by hand) or trying to widen the
> space for all, this (automatic) renumbering of the file name takes
> care of the "problem" for a while.
> ---
>
> If this patch is applied, this will make all patches in queue that
> have test script changes fail to merge :( -- so this is partially
> wip, but at least commit message is written...

I just rebased the retry-lock and message-properties series (separately)
on top of your commit without conflicts, so it's probably not that big
of a deal.  Do you think it's worth documenting what the supposed groups
of tests are (maybe in tests/README)? The groups could really use some
cleaning up. For example, we have at least two set groups of emacs
tests. Some things will be harder to classify, of course. That's why we [1]
believe in tags not folders ;). Nonetheless, perhaps it will be useful
to have things a bit less chaotic.  Eventually we might even want to
support the idea of running a "group" of tests.

d

[1]: except those who believe in searchs, not tags.


More information about the notmuch mailing list