summaryrefslogtreecommitdiffstats
path: root/meta/classes/testexport.bbclass
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-05-26 15:37:46 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-02 13:36:14 +0100
commitead62f9a40ed418577c0f75012185d2552729a90 (patch)
tree99146bdd87afcc6ae23a449700be5bbd6ca12c2c /meta/classes/testexport.bbclass
parentc746ee11eca0f09d71e23986fb77392777e255cd (diff)
downloadpoky-ead62f9a40ed418577c0f75012185d2552729a90.tar.gz
classes/test{export,images}: Change modules to list
With the new filters by <module>.[class].[testname] the modules arg is expected to be a list so use split into TEST_SUITES variable. (From OE-Core rev: b588c5c65e55a31d61c86553158eef409cd71086) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testexport.bbclass')
-rw-r--r--meta/classes/testexport.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/testexport.bbclass b/meta/classes/testexport.bbclass
index 56edda9943..d070f07afa 100644
--- a/meta/classes/testexport.bbclass
+++ b/meta/classes/testexport.bbclass
@@ -113,7 +113,7 @@ def copy_needed_files(d, tc):
113 oe.path.remove(cases_path) 113 oe.path.remove(cases_path)
114 bb.utils.mkdirhier(cases_path) 114 bb.utils.mkdirhier(cases_path)
115 test_paths = get_runtime_paths(d) 115 test_paths = get_runtime_paths(d)
116 test_modules = d.getVar('TEST_SUITES') 116 test_modules = d.getVar('TEST_SUITES').split()
117 tc.loadTests(test_paths, modules=test_modules) 117 tc.loadTests(test_paths, modules=test_modules)
118 for f in getSuiteCasesFiles(tc.suites): 118 for f in getSuiteCasesFiles(tc.suites):
119 shutil.copy2(f, cases_path) 119 shutil.copy2(f, cases_path)