]> code.ossystems Code Review - openembedded-core.git/commit
scripts/oe-selftest: remove coverage file if any coverage option is given
authorHumberto Ibarra <humberto.ibarra.lopez@intel.com>
Wed, 6 Apr 2016 03:15:53 +0000 (22:15 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Apr 2016 22:12:41 +0000 (23:12 +0100)
commit7157fd3bfbf2d5ae07fd4e726884baf7138bb24f
treeb6a12eafd13289eeb7206514cd1e5c5fb11f9255
parent1ccfdb31ea8a50e695d368c4fc78185254aac763
scripts/oe-selftest: remove coverage file if any coverage option is given

Coverage temporal file for sub-processing is being removed only
when the --coverage option was found. This is wrong since the
file is created when any coverage option (source, include or omit)
is given, even if --coverage is not one of them.

This patch makes sure to remove the file if any coverage option was
given.

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