Re: [OE-core] [PATCH 2/2] scripts/oe-selftest: Use site.USER_SITE to run coverage configuration code for sub-process

2016-02-17 Thread Ibarra Lopez, Humberto
CH 2/2] scripts/oe-selftest: Use site.USER_SITE to run coverage configuration code for sub-process Shouldn't this use a try/finally to ensure the user's site area is properly cleaned up if coverage_report() raises an exception? I doubt you want to risk leaving that around. On Tue, Feb 16, 2016 a

Re: [OE-core] [PATCH 2/2] scripts/oe-selftest: Use site.USER_SITE to run coverage configuration code for sub-process

2016-02-16 Thread Christopher Larson
Shouldn't this use a try/finally to ensure the user's site area is properly cleaned up if coverage_report() raises an exception? I doubt you want to risk leaving that around. On Tue, Feb 16, 2016 at 1:10 PM wrote: > From: Humberto Ibarra

[OE-core] [PATCH 2/2] scripts/oe-selftest: Use site.USER_SITE to run coverage configuration code for sub-process

2016-02-16 Thread humberto . ibarra . lopez
From: Humberto Ibarra Coverage in oe-selftest currently requires to create or modify a sitecustomize.py file according the coverage tool setup instructions (http://coverage.readthedocs.org/). This file has to be located in the system's python folder, which is not