[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testsuite Patches: Part 2: test ranges as args to testsuite
From: |
Akim Demaille |
Subject: |
Re: Testsuite Patches: Part 2: test ranges as args to testsuite |
Date: |
19 Feb 2001 10:39:42 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
"Tim Van Holder" <address@hidden> writes:
> Supported:
>
> 15-: all tests from nr 15 onward
> -15: all tests up to nr 15
> 15-45: tests 15 through 45
>
> Example:
>
> ./testsuite 40-60 90- -20
>
> runs 1 -> 20, 40 -> 60, 90 -> end
>
> 2001-02-11 Tim Van Holder <address@hidden>
>
> * tests/atgeneral.m4: Support ranges as testsuite options.
I refrained from doing this to avoid making testsuite too complex, I
personally use my shell to do such things:
~ % echo {1..30} nostromo 10:25
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
but if people think this might be useful, I wouldn't resist.
Still, I don't think this is what we want. What we want is to tag the
tests with some keywords, and ask to run the tests that match that
keyword. E.g.
./testsuite --match=autoheader
and have to the tests that run autoheader run. This is on my TODO
list for the real release of Autotest.