diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-07-27 11:17:36 +0800 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2018-07-27 16:46:06 +0800 |
commit | 85c2f1f3b70d5c6802230f2ef097fac28a544526 (patch) | |
tree | ae4ef318a8aa84cf8b75f0d34e06fbbb07167e8f /meta/recipes-devtools/python-numpy/python3-numpy_1.14.5.bb | |
parent | 364449251ffe4ff2c11acaa258edcec244c38818 (diff) | |
download | openembedded-core-contrib-85c2f1f3b70d5c6802230f2ef097fac28a544526.tar.gz |
testsdk.bbclass: check python module testtools and subunitrbt/testtools
The testtools or subunit is not part of python's standard library, so check them
before use.
Fixed when they are not installed on host:
$ bitbake core-image-minimal -ctestsdk
Exception: ImportError: No module named 'testtools'
Now it can run with a warning:
WARNING: core-image-minimal-1.0-r0 do_testsdk: Failed to import testtools or subunit, the testcases will run serially
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/python-numpy/python3-numpy_1.14.5.bb')
0 files changed, 0 insertions, 0 deletions