]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/context.py: Fix use of getTarget() with testexport
authorMariano Lopez <mariano.lopez@linux.intel.com>
Tue, 21 Feb 2017 10:11:00 +0000 (10:11 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2017 20:29:10 +0000 (12:29 -0800)
commitcf138029a1f18f991fc7a28c81d85884942e9d56
treef5d01090bfd7645563820fdb580361c42a40b8a2
parent9d25188e873645b849584b51a77b86588a51d4ba
oeqa/runtime/context.py: Fix use of getTarget() with testexport

The idea on getTarget is to use kwargs to send custom variables
to different targets, instead of this, a new variable was added
(just used for custom targets) and this broke testexport. So
in order to fix it, just add the custom variable to kwargs.

This fixes the use of getTarget() in testexport class that was
introduced in 1dc8010afd71fe46fb28bb86fb7c07a5fbd3d7cf.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/testimage.bbclass
meta/lib/oeqa/core/target/qemu.py
meta/lib/oeqa/runtime/context.py