mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
oe-selftest: use tinfoil.parse_recipe()
Use tinfoil.parse_recipe() in order to allow oe-selftest to be used in memres mode. (From OE-Core rev: 499ee9006271112f22cfe08fa5ba5c21be95380b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
93d675304d
commit
1f8cf63f8a
@@ -222,9 +222,7 @@ def runqemu(pn, ssh=True):
|
||||
import oeqa.targetcontrol
|
||||
tinfoil.config_data.setVar("TEST_LOG_DIR", "${WORKDIR}/testimage")
|
||||
tinfoil.config_data.setVar("TEST_QEMUBOOT_TIMEOUT", "1000")
|
||||
import oe.recipeutils
|
||||
recipefile = oe.recipeutils.pn_to_recipe(tinfoil.cooker, pn)
|
||||
recipedata = oe.recipeutils.parse_recipe(tinfoil.cooker, recipefile, [])
|
||||
recipedata = tinfoil.parse_recipe(pn)
|
||||
|
||||
# The QemuRunner log is saved out, but we need to ensure it is at the right
|
||||
# log level (and then ensure that since it's a child of the BitBake logger,
|
||||
|
||||
Reference in New Issue
Block a user