summaryrefslogtreecommitdiff
path: root/test/run
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-07-06 10:27:14 -0600
committerSimon Glass <sjg@chromium.org>2018-07-09 09:11:00 -0600
commit16d836cd6fa0d22e24fa2340df08e6d6d80c5107 (patch)
treea6cb369eade526c6ae9d3c8286721d5452b3a929 /test/run
parent31e60ffa05b0952be3df8f584155567afdee50bd (diff)
binman: Switch to 'python-coverage'
The most portable way to get access to coverage is to invoke it as 'python-coverage'. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/run b/test/run
index eb1563d13e..0b9188eaa8 100755
--- a/test/run
+++ b/test/run
@@ -26,8 +26,7 @@ PYTHONPATH=${DTC_DIR}/pylibfdt DTC=${DTC_DIR}/dtc run_test ./tools/dtoc/dtoc -t
# This needs you to set up Python test coverage tools.
# To enable Python test coverage on Debian-type distributions (e.g. Ubuntu):
-# $ sudo apt-get install python-pip python-pytest
-# $ sudo pip install coverage
+# $ sudo apt-get install python-pytest python-coverage
PYTHONPATH=${DTC_DIR}/pylibfdt DTC=${DTC_DIR}/dtc run_test \
./tools/binman/binman -T