summaryrefslogtreecommitdiff
path: root/test/py/requirements.txt
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-10-24 18:59:25 +0300
committerTom Rini <trini@konsulko.com>2019-10-31 00:48:47 +0300
commit8add4fa4177bf697ad892497fe65259dad642366 (patch)
tree3a3d158ad1582e54e578f6e5e4ef8c9aa49ac254 /test/py/requirements.txt
parentd2b5240c9a0303e2d2ed3cd540d7e32b6f198664 (diff)
downloadu-boot-8add4fa4177bf697ad892497fe65259dad642366.tar.xz
test/py: Rework test.py to be a different kind of wrapper
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@chromium.org> Tested-by: Stephen Warren <swarren@nvidia.com> Tested-by: Simon Glass <sjg@chromium.org> [on sandbox] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test/py/requirements.txt')
0 files changed, 0 insertions, 0 deletions