diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2017-03-18 18:55:46 +0100 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2017-03-18 23:56:45 +0100 |
commit | c910241219b0441b7d81019b0317412162427f33 (patch) | |
tree | 3dd1ffdb27ed9c761cf05db0814da59f746412a6 /test/runtest | |
parent | 45f35410b4bdd59614dd9811ee99aea6a5d1164c (diff) |
Testsuite: allow --range <number> +
Now `runtest <number> +` and `runtest --range <number> +`
do the same.
Diffstat (limited to 'test/runtest')
-rwxr-xr-x | test/runtest | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/runtest b/test/runtest index ec385f294..12b091acf 100755 --- a/test/runtest +++ b/test/runtest @@ -2531,7 +2531,7 @@ GetOptions( 'keep' => \$save_output, 'slow' => \$slow, 'valgrind' => \$valgrind, - 'range=i{2}' => \my @range_wanted, + 'range=s{2}' => \my @range_wanted, 'test=i@' => \my @tests_wanted, 'flavor|flavour=s' => $flavour, 'help' => sub { pod2usage(-exit => 0) }, @@ -4067,7 +4067,8 @@ Keep the various output files produced during a test run. (default: don't keep) =item B<--range> I<n0> I<n1> -Run tests between (including) I<n0> and I<n1>. +Run tests between (including) I<n0> and I<n1>. A "+" may be used to specify the "last +test available". =item B<--slow> |