diff options
author | Lee Chee Yang <chee.yang.lee@intel.com> | 2020-07-01 22:39:08 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-07 23:15:10 +0100 |
commit | 9d2c1eef7b2dcace5b41edf0143c5a441c838a83 (patch) | |
tree | 1fbbb484aff5d0235ab044d6a6fb7e7c5e63a979 /meta/recipes-devtools/bootchart2 | |
parent | 263d1ca7bc1d7a8664820e7bc711ed781e3e500b (diff) | |
download | poky-9d2c1eef7b2dcace5b41edf0143c5a441c838a83.tar.gz |
oeqa/core/loader: refine regex to find module
test case in format <module name>.<class name>.<test case name>
this is clear when test cases is only 3 item deep.
but confused when it is 4 item deep, eg,
oelib.types.TestList.test_list_nosep
in this case, oelib and oelib.types can both be treated as module
since module name contains only lower cases and class name should
contain atleast one upper case.
so, always treat leading item without upper case as module also allow
module name to contain dot.
[YOCTO #13941]
(From OE-Core rev: 838646da741cda2059ee2bd64fd1e59980fbf945)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad81ea90a815389e45ff302a85151724c71f71c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/bootchart2')
0 files changed, 0 insertions, 0 deletions