[OE-core] [PATCH 1/3] scripts/oe-selftest: remove unneeded coverage warning

Humberto Ibarra humberto.ibarra.lopez at intel.com
Wed Apr 6 03:15:52 UTC 2016


There is a message that warns the user about enabling subprocessing
for coverage to work. After the fix for Yocto #8930,
this task is done automatically, so the warning is not needed
anymore.

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez at intel.com>
---
 scripts/oe-selftest | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 9b29ae0..2348b47 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -578,9 +578,7 @@ def buildResultClass(args):
                     # check if user can do coverage
                     import coverage
                 except:
-                    log.warn('\n'.join(["python coverage is not installed",
-                        "Make sure your coverage takes into account sub-process",
-                        "More info on https://pypi.python.org/pypi/coverage"]))
+                    log.warn("python coverage is not installed. More info on https://pypi.python.org/pypi/coverage")
                     self.coverage_installed = False
 
                 if self.coverage_installed:
-- 
2.1.4




More information about the Openembedded-core mailing list