mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
testimage.bbclass: Add package install feature
This allows to use the package install feature with the new OEQA framework. [YOCTO #10234] (From OE-Core rev: 077dc19445574457769eb4f231de97e8059cb75e) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f8d7db1905
commit
58789be270
@@ -10,11 +10,13 @@ def getSuiteCases(suite):
|
||||
Returns individual test from a test suite.
|
||||
"""
|
||||
tests = []
|
||||
for item in suite:
|
||||
if isinstance(item, unittest.suite.TestSuite):
|
||||
|
||||
if isinstance(suite, unittest.TestCase):
|
||||
tests.append(suite)
|
||||
elif isinstance(suite, unittest.suite.TestSuite):
|
||||
for item in suite:
|
||||
tests.extend(getSuiteCases(item))
|
||||
elif isinstance(item, unittest.TestCase):
|
||||
tests.append(item)
|
||||
|
||||
return tests
|
||||
|
||||
def getSuiteModules(suite):
|
||||
|
||||
Reference in New Issue
Block a user