]> code.ossystems Code Review - openembedded-core.git/commit
scripts/oe-selftest: avoid the creation of coverage file when coverage not installed
authorHumberto Ibarra <humberto.ibarra.lopez@intel.com>
Wed, 6 Apr 2016 03:15:54 +0000 (22:15 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Apr 2016 22:12:41 +0000 (23:12 +0100)
commit03d1711350895e941a476bd2d2a6cd389be07509
tree9805a03c85a4dd88b60856a4db64ca38165339f8
parent7157fd3bfbf2d5ae07fd4e726884baf7138bb24f
scripts/oe-selftest: avoid the creation of coverage file when coverage not installed

Coverage subprocessing file is being created even when coverage
is not installed, which causes errors of "module not found" to
be send to the oe-selftest output.

This patch adds indent to the block of code creating this coverage
file, so it can only be executed when coverage is actually
installed.

[Yocto #9334]

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-selftest