summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2017-12-14 07:07:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-04 12:57:42 +0000
commit28a1d1973d84e09b9895a31229502bb36632ff3e (patch)
tree4cdd0e352e2dd80a9eae45bce27a9fcf26d10e84
parenta2ff00391ebb72f77935d4b02237d055d7318c81 (diff)
downloadpoky-28a1d1973d84e09b9895a31229502bb36632ff3e.tar.gz
core/loader.py: fix regex to include all available test cases
Some test cases (eSDK.oeSDK*, runtime_test/*) does not match with current regex, fix it accept all. [YOCTO #12385] (From OE-Core rev: 1ecf48fd286a77078451b67879a44f9c9dc7a894) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/core/loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/core/loader.py b/meta/lib/oeqa/core/loader.py
index 975a081ba4..a4744dee03 100644
--- a/meta/lib/oeqa/core/loader.py
+++ b/meta/lib/oeqa/core/loader.py
@@ -43,7 +43,7 @@ def _built_modules_dict(modules):
43 for module in modules: 43 for module in modules:
44 # Assumption: package and module names do not contain upper case 44 # Assumption: package and module names do not contain upper case
45 # characters, whereas class names do 45 # characters, whereas class names do
46 m = re.match(r'^([^A-Z]+)(?:\.([A-Z][^.]*)(?:\.([^.]+))?)?$', module) 46 m = re.match(r'^(\w+)(?:\.(\w[^.]*)(?:\.([^.]+))?)?$', module, flags=re.ASCII)
47 47
48 module_name, class_name, test_name = m.groups() 48 module_name, class_name, test_name = m.groups()
49 49