diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-12-20 13:28:26 +0800 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2017-12-21 09:59:48 +0800 |
commit | 6bed2ead820cbb22462e458b49c82c71ece0ff85 (patch) | |
tree | 373da01fd637ffb873c32f80dba04a2dc134d4fa /meta/recipes-devtools/btrfs-tools | |
parent | 978472c58629d1448399207873bbead96b27102e (diff) | |
download | openembedded-core-contrib-6bed2ead820cbb22462e458b49c82c71ece0ff85.tar.gz |
oeqa/core/loader.py: fix re for module
Fixed:
$ oe-selftest -r eSDK.oeSDKExtSelfTest.test_image_generation_binary_feeds
Traceback (most recent call last):
[snip]
File "/workspace2/lyang1/poky/meta/lib/oeqa/core/loader.py", line 49, in _built_modules_dict
module_name, class_name, test_name = m.groups()
AttributeError: 'NoneType' object has no attribute 'groups'
The old code assumed the arg should be:
module.Class.test
Note about the module and Class, the lower and upper cases matters, which can't
handle the testcases like eSDK.oeSDKExtSelfTest.test_image_generation_binary_feeds
and gotoolchain.oeGoToolchainSelfTest.test_go_dep_build. Use a new re to fix
the problem, now all of the following commmands can work:
$ oe-selftest -r eSDK
$ oe-selftest -r eSDK.oeSDKExtSelfTest
$ oe-selftest -r eSDK.oeSDKExtSelfTest.test_image_generation_binary_feeds
[YOCTO #12438]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools')
0 files changed, 0 insertions, 0 deletions