]> code.ossystems Code Review - openembedded-core.git/commit
testimage: Add testimage_dump_target to kwargs
authorSaul Wold <Saul.Wold@windriver.com>
Mon, 28 Sep 2020 21:23:12 +0000 (14:23 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Sep 2020 14:01:46 +0000 (15:01 +0100)
commita63675fab4d9f638570912b15a07932f549cc4d1
tree7923f8012fae4ad0c2c59f469e938252d0b44e20
parent243e13e87ac954b4197d53d6694f6335291651d5
testimage: Add testimage_dump_target to kwargs

This passes the list of commands to run on the OEQemuTarget when
the TargetDumper needs to run in a test context due to a failure
on the target.

This is added here as a kwargs because the 'd' dictionary is not
available in the staticmethod getTarget in the
OERuntimeTestContextExecutor class. The OEQemuTarget is different
from the QemuTarget which already uses the list of commands from
testimage_dump_target from 'd'. The create_dir() is needed to
initialize the TargetDumper's dump_dir variable.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/testimage.bbclass
meta/lib/oeqa/core/target/qemu.py