diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-05-26 15:37:46 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-02 13:36:14 +0100 |
commit | ead62f9a40ed418577c0f75012185d2552729a90 (patch) | |
tree | 99146bdd87afcc6ae23a449700be5bbd6ca12c2c /meta/classes/testimage.bbclass | |
parent | c746ee11eca0f09d71e23986fb77392777e255cd (diff) | |
download | poky-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/testimage.bbclass')
-rw-r--r-- | meta/classes/testimage.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index d42907cf80..1185593a1b 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -257,7 +257,7 @@ def testimage_main(d): | |||
257 | 257 | ||
258 | # Load tests before starting the target | 258 | # Load tests before starting the target |
259 | test_paths = get_runtime_paths(d) | 259 | test_paths = get_runtime_paths(d) |
260 | test_modules = d.getVar('TEST_SUITES') | 260 | test_modules = d.getVar('TEST_SUITES').split() |
261 | tc.loadTests(test_paths, modules=test_modules) | 261 | tc.loadTests(test_paths, modules=test_modules) |
262 | 262 | ||
263 | if not getSuiteCases(tc.suites): | 263 | if not getSuiteCases(tc.suites): |