[U-Boot] [PATCH] test/py: exit(1) if there are problems running py.test

Simon Glass sjg at chromium.org
Sat Feb 6 21:29:54 CET 2016


On 3 February 2016 at 10:42, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> The test/py/test.py wrapper script catches exceptions thrown when
> exec()ing py.test in order to print a helpful error message. However,
> the exception handling code squashes the exception and so the script
> exits with a non-zero exit code, leading callers to believe that it
> passed. Fix this.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
>  test/py/test.py | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list