]> code.ossystems Code Review - openembedded-core.git/commit
scripts/oe-selftest: Use site.USER_SITE to run coverage configuration code for sub...
authorHumberto Ibarra <humberto.ibarra.lopez@intel.com>
Fri, 19 Feb 2016 21:29:32 +0000 (15:29 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:33 +0000 (11:32 +0000)
commit3f9b1658d745b536eff1017b2c74a9dff46b6f4a
tree9b909d60e679b29b17e5d72196c0669ff865a315
parent923481c7d8c09ed9b03109cf4debcc6b07845c59
scripts/oe-selftest: Use site.USER_SITE to run coverage configuration code for sub-process

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 a good solution since this
folder is not accesible to non-privileged users.

The best solution so far is to create this file in the home directory.
This is implemented by creating the temporal file in the user site
default folder.

[Yocto #8930]

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/oe-selftest