[Fuego] [PATCH 04/18] need_check: check_kconfig should return 1 on first failure

Bird, Timothy Tim.Bird at sony.com
Wed Jan 31 04:43:38 UTC 2018


Applied.

Thanks.
 -- Tim

> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Daniel Sangorrin
> Sent: Tuesday, January 30, 2018 1:59 AM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH 04/18] need_check: check_kconfig should return 1
> on first failure
> 
> Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
> ---
>  engine/scripts/need_check.sh | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/engine/scripts/need_check.sh b/engine/scripts/need_check.sh
> index d85e89a..aa96cbe 100755
> --- a/engine/scripts/need_check.sh
> +++ b/engine/scripts/need_check.sh
> @@ -268,7 +268,9 @@ function check_kconfig {
> 
>    for cfg in "${arg_array[@]}" ; do
>      echo "Checking cfg: [$cfg]"
> -    check_one_kconfig $cfg
> +    if ! check_one_kconfig $cfg; then
> +        return 1
> +    fi
>    done
>  }
> 
> --
> 2.7.4
> 
> 
> _______________________________________________
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego


More information about the Fuego mailing list