]> code.ossystems Code Review - openembedded-core.git/commit
testimage.bbclass: support hardware-controlled targets
authorAndré Draszik <andre.draszik@jci.com>
Wed, 16 Oct 2019 09:18:20 +0000 (10:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 19 Oct 2019 17:13:38 +0000 (18:13 +0100)
commit0ab7e3b573a58cc3a869ef33fd8737ca7fe04550
tree411157f28e6e7def08dba590062af8f159caacd4
parent6958f7e4c6a1c27e823ae0a74c1642d78ca7a45e
testimage.bbclass: support hardware-controlled targets

Since the introduction of the new runtime framework for target
testing in commit 2aa5a4954d76
("testimage.bbclass: Migrate class to use new runtime framework")
commit 3857e5c91da6 in poky.git, target controllers have no
access to the global datastore 'd' anymore.

This makes it impossible for a specific OEQA (hardware)
controller to access documented properties like
TEST_POWERCONTROL_CMD, TEST_SERIALCONTROL_CMD, etc,
meaning it's impossible for those controllers to actually
control the hardware.

To solve this, simply add those documented variables into
the target_kwargs[].

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/testimage.bbclass