[PATCH] make testlist
Michael Adam
obnox at samba.org
Tue Sep 15 16:12:24 UTC 2015
very nice!
reviewed.by.me
will push
Michael
On 2015-09-15 at 16:23 +0200, Andreas Schneider wrote:
> Hello,
>
> the attached patch allows you to list the tests with:
>
> make testlist
>
> or
>
> make testlist TESTS=spoolss
>
> to show only spoolss tests.
>
>
> Please review and push!
>
>
> -- andreas
>
> --
> Andreas Schneider GPG-ID: CC014E3D
> Samba Team asn at samba.org
> www.samba.org
> From 2a2effe11993520b8a79c17a10e982d7e93df74c Mon Sep 17 00:00:00 2001
> From: Andreas Schneider <asn at samba.org>
> Date: Tue, 15 Sep 2015 16:20:48 +0200
> Subject: [PATCH] Makefile: Add option to list all tests
>
> This allows you to run 'make testlist' to get a complete list of all our
> tests available. You can limit it using 'make testlist TESTS=spoolss' to
> only show spoolss tests for example.
>
> Signed-off-by: Andreas Schneider <asn at samba.org>
> ---
> Makefile | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index aa532b6..95681ae 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -35,6 +35,9 @@ quicktest:
> randomized-test:
> $(WAF) test --random-order $(TEST_OPTIONS)
>
> +testlist:
> + $(WAF) test --list $(TEST_OPTIONS)
> +
> dist:
> touch .tmplock
> WAFLOCK=.tmplock $(WAF) dist
> --
> 2.5.1
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150915/53848b06/attachment.sig>
More information about the samba-technical
mailing list