[Buildroot] [PATCHv3 15/15] utils/genrandconfig: also test BR2_ENABLE_RUNTIME_DEBUG

Arnout Vandecappelle arnout at mind.be
Tue May 25 21:50:04 UTC 2021



On 25/05/2021 14:27, Thomas De Schampheleire wrote:
> From: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
> 
> ... similar to BR2_ENABLE_DEBUG.
> 
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>


> ---
>  utils/genrandconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/utils/genrandconfig b/utils/genrandconfig
> index 93dc6d898b..ca3e77e3e3 100755
> --- a/utils/genrandconfig
> +++ b/utils/genrandconfig
> @@ -357,6 +357,8 @@ def gen_config(args):
>      # Amend the configuration with a few things.
>      if randint(0, 20) == 0:
>          configlines.append("BR2_ENABLE_DEBUG=y\n")
> +    if randint(0, 20) == 0:

 Although actually, I think we should increase the frequency of all these
options quite a lot...

 Regards,
 Arnout

> +        configlines.append("BR2_ENABLE_RUNTIME_DEBUG=y\n")
>      if randint(0, 1) == 0:
>          configlines.append("BR2_INIT_BUSYBOX=y\n")
>      elif randint(0, 15) == 0:
> 



More information about the buildroot mailing list