aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/buildhistory.py
diff options
context:
space:
mode:
authorHumberto Ibarra <humberto.ibarra.lopez@intel.com>2015-12-23 17:36:08 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-07 13:40:04 +0000
commitd66a4c5cb77f745e973daf34b84724f91549f391 (patch)
treebccfbab57824bc53828cb244828c5eb3b372dbef /meta/lib/oeqa/selftest/buildhistory.py
parentc89c5383e304a52b604a3672ac93fd88b5eb8b41 (diff)
downloadopenembedded-core-contrib-d66a4c5cb77f745e973daf34b84724f91549f391.tar.gz
openembedded-core-contrib-d66a4c5cb77f745e973daf34b84724f91549f391.tar.bz2
openembedded-core-contrib-d66a4c5cb77f745e973daf34b84724f91549f391.zip
scripts/oe-selftest: Remove extra coverage data added to unittests
Coverage data tracking initiates too early, causing coverage data from the oe-selftest environment setting to be added to each run. Even when no tests are run oe-selftest reports around 24% of coverage due to this extra data. Change the custom resultclass used by the TextTestRunner to one generated from the command arguments. The generated class processes coverage when needed, running coverage setup just before the first testcase is run and reporting after the last one finished. [Yocto #8846] Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa/selftest/buildhistory.py')
0 files changed, 0 insertions, 0 deletions