mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c746ee11ec
commit
ead62f9a40
@@ -257,7 +257,7 @@ def testimage_main(d):
|
||||
|
||||
# Load tests before starting the target
|
||||
test_paths = get_runtime_paths(d)
|
||||
test_modules = d.getVar('TEST_SUITES')
|
||||
test_modules = d.getVar('TEST_SUITES').split()
|
||||
tc.loadTests(test_paths, modules=test_modules)
|
||||
|
||||
if not getSuiteCases(tc.suites):
|
||||
|
||||
Reference in New Issue
Block a user