Re: [PATCH 3/3] test-lib: '--run' to run only specific tests
- From
David Tran <unsignedzero@gmail.com>
- Date
- Mar 31, 2014, 19:35 UTC
- Message-ID
- <loom.20140331T213335-569@post.gmane.org>
- In-Reply-To
- <xmqqlhvq8fbw.fsf@gitster.dls.corp.google.com>
Show 12 quoted lines
> Junio C Hamano <gitster <at> pobox.com> writes: > > > I would have to say that there is already an established pattern to > pick ranges that normal people understand well and it would be silly > to invent another more verbose way to express the same thing. You > tell your Print Dialog which page to print with e.g. "-4,7,9-12,15-", > not ">=4 7 ...". > > Would the same notation be insufficient for our purpose? You do not > even have to worry about negation that way. >
That will do, especially if the numbers are in ascending order. We won't have the odd cases of including a test and removing it later on. I think we won't need a --neg flag to take the negation of the tests in that range?