Re: [PATCH 3/4] meson: introduce kwargs variable for tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick Steinhardt <ps@xxxxxx> writes:

> Meson has the ability to create a kwargs dictionary that can then be
> passed to any function call with the `kwargs:` positional argument. This
> allows one to deduplicate common parameters that one wishes to pass to
> several different function invocations.
>
> Our tests already have one common parameter that we use everywhere,
> "timeout", and we're about to add a second common parameter in the next
> commit. Let's prepare for this by introducing `test_kwargs` so that we
> can deduplicate these common arguments.
>

This is a nice cleanup and a good to know. Looks good.

[snip]

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux