diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2017-06-07 07:41:55 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-07 16:00:43 +0100 |
commit | 186882ca62bf683b93cd7a250963921b89ba071f (patch) | |
tree | 07bc267853a578b5b93050bc489993ba202b57c8 /scripts/yocto-compat-layer.py | |
parent | 49c255494c1d0704a1c8c428281c81541b05dc3e (diff) | |
download | openembedded-core-186882ca62bf683b93cd7a250963921b89ba071f.tar.gz openembedded-core-186882ca62bf683b93cd7a250963921b89ba071f.tar.bz2 openembedded-core-186882ca62bf683b93cd7a250963921b89ba071f.zip |
buildhistory: skip tests if GitPython module is missing
Catching a possible exception when importing the git module,
allows us to skip test if the latter is missing on the host.
Also, import oe.buildhistory_analysis inside fuctions
because this module also needs git to work correctly.
[YOCTO #11620]
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/yocto-compat-layer.py')
0 files changed, 0 insertions, 0 deletions