Skip to content
Commit 03181262 authored by Simon Glass's avatar Simon Glass
Browse files

u_boot_pylib: Use correct coverage tool within venv



When running within a Python venv we must use the 'coverage' tool (which
is within the venv) so that the venv packages are used in preference to
system packages. Otherwise the coverage tests run in a different
environment from the normal tests and may fail due to missing packages.

Handle this by detecting the venv and changing the tool name.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 6c0a3cf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment