[U-Boot] [PATCHv3 10/13] test/py: Rework test.py to be a different kind of wrapper

Tom Rini trini at konsulko.com
Fri Nov 1 13:32:33 UTC 2019

On Thu, Oct 24, 2019 at 11:59:25AM -0400, Tom Rini wrote:

> Now that we have moved to being based on pytest for python3 we need to
> make our test.py wrapper more robust in terms of only calling python3
> rather than possibly finding and using python2.  To do this, change from
> execvp()'ing pytest to invoking the package itself via python.  In the
> event that pytest is unavailable we still get a user-friendly error:
> pkg_resources.DistributionNotFound: The 'pytest' distribution was not found and is required by the application
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Tested-by: Stephen Warren <swarren at nvidia.com>
> Tested-by: Simon Glass <sjg at chromium.org> [on sandbox]
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191101/ca88a212/attachment.sig>

More information about the U-Boot mailing list