mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
testimage: inline updateTestData()
updateTestData() is just a simple loop that is only used here, so just inline it. (From OE-Core rev: 2dfe2f68307a441fff2f5018408558bca63f7d03) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ccc03581f5
commit
da6930c6f4
@@ -205,7 +205,6 @@ def testimage_main(d):
|
||||
import shutil
|
||||
|
||||
from bb.utils import export_proxies
|
||||
from oeqa.core.utils.misc import updateTestData
|
||||
from oeqa.runtime.context import OERuntimeTestContext
|
||||
from oeqa.runtime.context import OERuntimeTestContextExecutor
|
||||
from oeqa.core.target.qemu import supported_fstypes
|
||||
@@ -245,7 +244,8 @@ def testimage_main(d):
|
||||
|
||||
# Some variables need to be updates (mostly paths) with the
|
||||
# ones of the current environment because some tests require them.
|
||||
updateTestData(d, td, d.getVar('TESTIMAGE_UPDATE_VARS').split())
|
||||
for var in d.getVar('TESTIMAGE_UPDATE_VARS').split():
|
||||
td[var] = d.getVar(var)
|
||||
|
||||
image_manifest = "%s.manifest" % image_name
|
||||
image_packages = OERuntimeTestContextExecutor.readPackagesManifest(image_manifest)
|
||||
|
||||
Reference in New Issue
Block a user