Re: [PATCH 3/3] test-lib: '--run' to run only specific tests

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH 3/3] test-lib: '--run' to run only specific tests

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:00:35

Eric Sunshine [off-list ref] writes:
Since the relational operators are fairly self-explanatory, you could
drop the prose explanation, though that might make it too cryptic:

    A number prefixed with '<', '<=', '>', or '>=' matches test
    numbers meeting the specified relation.
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.

Re: [PATCH 3/3] test-lib: '--run' to run only specific tests

From: David Tran <hidden>
Date: 2016-06-15 23:00:35

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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help