diff options
| -rw-r--r-- | meta/classes/testexport.bbclass | 2 | ||||
| -rw-r--r-- | meta/classes/testimage.bbclass | 2 |
2 files changed, 2 insertions, 2 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) |
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): |
