[PATCH 5/8] testr: Use waf testonly and create a custom directory for new workers.

Matthieu Patou mat at samba.org
Thu Oct 16 00:06:15 MDT 2014


On Sun, Oct 12, 2014 at 09:19:01PM -0700, Jelmer Vernooij wrote:
> Using waf testonly helps speed up test runs, and the custom directory is
> required to run multiple workers in parallel.
> 
> Change-Id: I339420c5c503c270a04888a1c990836cb0c91e94
> Signed-Off-By: Jelmer Vernooij <jelmer at samba.org>
> ---
>  .testr.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.testr.conf b/.testr.conf
> index 00d0857..5a181e3 100644
> --- a/.testr.conf
> +++ b/.testr.conf
> @@ -1,4 +1,4 @@
>  [DEFAULT]
> -test_command=./buildtools/bin/waf test --filtered-subunit $IDOPTION $LISTOPT
> +test_command=./buildtools/bin/waf testonly --filtered-subunit $IDOPTION $LISTOPT --with-selftest-prefix=$(mktemp -d)
>  test_id_option=--load-list $IDFILE
>  test_list_option=--list
> -- 
> 2.1.1
> 
Reviewed-by: Matthieu Patou <mat at matws.net>

-- 
Matthieu Patou
Samba Team
http://samba.org


More information about the samba-technical mailing list