diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-07-27 11:17:36 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-30 12:44:28 +0100 |
commit | ae53461608c4e71533378369b3f623b4c9002e39 (patch) | |
tree | 88f39a3af55e86aa4bc75ea60338fc7be5e7bad8 /scripts/lnr | |
parent | d1c56454b2d374f96c810f684a15dbefebead067 (diff) | |
download | openembedded-core-ae53461608c4e71533378369b3f623b4c9002e39.tar.gz openembedded-core-ae53461608c4e71533378369b3f623b4c9002e39.tar.bz2 openembedded-core-ae53461608c4e71533378369b3f623b4c9002e39.zip |
testsdk.bbclass: check python module testtools and subunit
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>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lnr')
0 files changed, 0 insertions, 0 deletions