[poky] [PATCH v2 1/1] selftest: skip tests for poky-tiny distro due to incompatible kernel machine
Khem Raj
raj.khem at gmail.com
Fri Nov 25 20:10:02 PST 2016
> On Nov 24, 2016, at 1:34 PM, leonardo.sandoval.gonzalez at linux.intel.com wrote:
>
> From: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
>
> The poky-tiny distro points to linux-yocto-tiny which in turns the compatible
> machine is set to qemux86. Current tests are defined for just generic86 architectures
> so tests are not possible for the corresponding distro.
>
can we fix the distro policy instead of skipping ?
> Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
> ---
> meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py | 3 ++-
> meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py | 3 ++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py b/meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py
> index 00aa36f..63643e5 100644
> --- a/meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py
> +++ b/meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py
> @@ -25,9 +25,10 @@ class Gummiboot(oeSelfTest):
> """
>
> # Build a genericx86-64/efi gummiboot image
> + if self.distro == 'poky-tiny':
> + self.skipTest('Machine %s not compatible with linux-yocto-tiny' % get_bb_var('MACHINE'))
> bitbake('syslinux syslinux-native parted-native dosfstools-native mtools-native core-image-minimal')
>
> -
> @testcase(1101)
> def test_efi_gummiboot_images_can_be_built(self):
> """
> diff --git a/meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py b/meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py
> index f7f74db..52b33ed 100644
> --- a/meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py
> +++ b/meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py
> @@ -25,9 +25,10 @@ class Systemdboot(oeSelfTest):
> """
>
> # Build a genericx86-64/efi gummiboot image
> + if self.distro == 'poky-tiny':
> + self.skipTest('Machine %s not compatible with linux-yocto-tiny' % get_bb_var('MACHINE'))
> bitbake('mtools-native core-image-minimal')
>
> -
> @testcase(1445)
> def test_efi_systemdboot_images_can_be_built(self):
> """
> --
> 2.1.4
>
> --
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
More information about the poky
mailing list