[Buildroot] [PATCH] utils/test-pkg: set the return code for fail

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Oct 10 07:39:55 UTC 2019


On Thu, 10 Oct 2019 08:39:33 +0200
heiko.thiery at gmail.com wrote:

> From: Heiko Thiery <heiko.thiery at kontron.com>
> 
> Add an option (-e) to exit the script with an error if a build
> or the legal-info check fails.
> 
> Signed-off-by: Heiko Thiery <heiko.thiery at kontron.com>

Why should this be optional? It seems like test-pkg should always
return a non-zero error code when the build or legal-info fails.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list