[OE-core] [PATCH] testimage.bbclass: Add kernel provider and version to testresult

Richard Purdie richard.purdie at linuxfoundation.org
Fri Sep 20 12:01:53 UTC 2019


On Tue, 2019-09-17 at 09:27 +0800, Yeoh Ee Peng wrote:
> In running QA testing, we sometime need to select custom  provider
> for
> virtual/kernel and version. To track the selected virtual/kernel
> provider
> and version used during test, we need to add these information to
> testresult.
> 
> This patch add the virtual/kernel and version into the testresult
> configuration section.
> 
> Example of virtual/kernel and version added to testresult
> configuration:
>    - "KERNEL_PROVIDER_VERSION": "linux-intel_4.19"
> 
> Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh at intel.com>
> ---
>  meta/classes/testimage.bbclass | 20 ++++++++++++++++++--
>  1 file changed, 18 insertions(+), 2 deletions(-)

This fixes a very specific use case but we don't really want to add
extra variables to this each time someone has a new use case. In other
words this isn't going to scale.

The idea originally is that "DISTRO" should give a pretty good idea of
what was being tested. Another idea would be to allow the variables to
be configurable but I'm not sure we want to support adding arbitrary
variables...

Cheers,

Richard




More information about the Openembedded-core mailing list