Lines Matching +full:target +full:- +full:module
4 # SPDX-License-Identifier: MIT
7 # Main unittest module used by testimage.bbclass
91 self.target = oeRuntimeTest.tc.target
101 elif (type(self.target).__name__ == "QemuTarget"):
102 self.assertTrue(self.target.check(), msg = "Qemu not running?")
117 if (type(self.target).__name__ == "QemuTarget" and
122 self.target.target_dumper.dump_target(
163 if msg[-1] != "\n":
238 module = 'oeqa.' + type + '.' + f[:-3]
239 if module not in testslist:
240 testslist.append(module)
261 module = pkgutil.get_loader(test)
262 modules.append(module)
268 Returns the test module based on a test id.
273 for module in modules:
274 if module.name == module_name:
275 return module
325 # Use brute-force topological sort to determine ordering. Sort by
340 return (a > b) - (a < b)
363 def __init__(self, d, target, exported=False): argument
366 self.target = target
404 oeRuntimeTest.pscmd = "ps -ef"
416 for module in modules:
417 json_file = self._getJsonFile(module)
466 def _getJsonFile(self, module): argument
468 Returns the path of the JSON file for a module, empty if doesn't exitst.
471 module_file = module.path
539 module = self.getModulefromID(test_id)
540 json = self._getJsonFile(module)
564 self.target.connection.copy_dir_to(src_dir, "/")
568 self.target.connection.delete_dir_structure(src_dir, "/")
571 def __init__(self, d, target, host_dumper): argument
572 super(ImageTestContext, self).__init__(d, target)
585 self.target.stop()
596 def __init__(self, d, target, exported=False, parsedArgs={}): argument
601 - tag: Filter test by tag.
603 super(ExportTestContext, self).__init__(d, target, exported)