diff options
-rw-r--r-- | meta/lib/oeqa/oetest.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index 4a740fb53f..e63ca56165 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py | |||
@@ -441,12 +441,9 @@ class RuntimeTestContext(TestContext): | |||
441 | 441 | ||
442 | def extract_packages(self): | 442 | def extract_packages(self): |
443 | """ | 443 | """ |
444 | Find and extract packages that will be needed during runtime. | 444 | Find packages that will be needed during runtime. |
445 | """ | 445 | """ |
446 | 446 | ||
447 | needed_packages = {} | ||
448 | extracted_path = self.d.getVar("TEST_EXTRACTED_DIR", True) | ||
449 | packaged_path = self.d.getVar("TEST_PACKAGED_DIR", True) | ||
450 | modules = self.getTestModules() | 447 | modules = self.getTestModules() |
451 | bbpaths = self.d.getVar("BBPATH", True).split(":") | 448 | bbpaths = self.d.getVar("BBPATH", True).split(":") |
452 | 449 | ||
@@ -454,6 +451,15 @@ class RuntimeTestContext(TestContext): | |||
454 | json_file = self._getJsonFile(module) | 451 | json_file = self._getJsonFile(module) |
455 | if json_file: | 452 | if json_file: |
456 | needed_packages = self._getNeededPackages(json_file) | 453 | needed_packages = self._getNeededPackages(json_file) |
454 | self._perform_package_extraction(needed_packages) | ||
455 | |||
456 | def _perform_package_extraction(self, needed_packages): | ||
457 | """ | ||
458 | Extract packages that will be needed during runtime. | ||
459 | """ | ||
460 | |||
461 | extracted_path = self.d.getVar("TEST_EXTRACTED_DIR", True) | ||
462 | packaged_path = self.d.getVar("TEST_PACKAGED_DIR", True) | ||
457 | 463 | ||
458 | for key,value in needed_packages.items(): | 464 | for key,value in needed_packages.items(): |
459 | packages = () | 465 | packages = () |