[Ezbench-dev] [PATCH] profiles/kernel-igt: Ignore gui_start errors

Martin Peres martin.peres at free.fr
Mon Feb 6 10:59:42 UTC 2017


On 06/02/17 12:54, Petri Latvala wrote:
> Typically broken kernels leave the system in a state where starting
> the gui just fails. Ignore the error, continue building.
> ---
>   profiles.d/kernel-igt/conf.d/compile.conf | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/profiles.d/kernel-igt/conf.d/compile.conf b/profiles.d/kernel-igt/conf.d/compile.conf
> index b8df203..3b0fe98 100644
> --- a/profiles.d/kernel-igt/conf.d/compile.conf
> +++ b/profiles.d/kernel-igt/conf.d/compile.conf
> @@ -6,7 +6,7 @@ function compile_pre_hook() {
>       # $commitName [RO]: Name of the commit
>   
>       cpu_reclocking_disable_stop
> -    gui_start || exit 60
> +    gui_start || true

I guess the best would just be to just "return" instead of running true. 
This way, we will not try to show the debug info ;)

Otherwise, this is reasonable!

>       x_show_debug_info_start
>   }
>   




More information about the Ezbench-dev mailing list