selftest: skip tests for poky-tiny distro due to incompatible kernel machine
v2 cover selftest: skip tests for poky-tiny distro due to incompatible kernel machine
From: Leonardo Sandoval <[email protected]>
This series is a continuation of:
http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129234.html
The latter should be merged first before this series.
[YOCTO #8525]
The following changes since commit 12a0ee049e453b6d0d2ce2f3fa981d1b6e02bd78:
dev-manual: Added note about RPM not dealing with post-install (2016-11-23 11:10:35 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib lsandov1/oe-selftest-distro-poky-agnostic
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lsandov1/oe-selftest-distro-poky-agnostic
Leonardo Sandoval (1):
selftest: skip tests for poky-tiny distro due to incompatible kernel
machine
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(-)
Signature · 1 line
2.1.4
PATCH v2 1/1 selftest: skip tests for poky-tiny distro due to incompatible kernel machine
From: Leonardo Sandoval <[email protected]>
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.
--- 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(-)
meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py +2 -1
@@ -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): """
meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py +2 -1
@@ -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): """
Signature · 1 line
2.1.4
Quoted 9 lines · On Nov 24, 2016, at 1:34 PM, [email protected] wrote:
From: Leonardo Sandoval <[email protected]>
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 ?
Quoted 46 lines
Signed-off-by Leonardo Sandoval <[email protected]>---
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(-)meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py +2
-1@@ -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): """meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py +2
-1@@ -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): """Signature · 7 lines
2.1.4 -- _______________________________________________ poky mailing list [email protected] https://lists.yoctoproject.org/listinfo/poky
Quoted 9 lines · Khem Raj
Quoted 8 lines · On Nov 24, 2016, at 1:34 PM, [email protected] wrote:
From: Leonardo Sandoval <[email protected]>
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 ?
That work (meta-intel compatible with poky-tiny policy) is in progress and should be ready soon (not sure the date), so I believe for the moment the skip is valid.
Quoted 8 lines · Leonardo Sandoval
Quoted 2 lines · Khem Raj
Quoted 2 lines · On Nov 24, 2016, at 1:34 PM, [email protected] wrote:
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
From: Leonardo Sandoval <[email protected]>
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 ?
That work (meta-intel compatible with poky-tiny policy) is in progress and should be ready soon (not sure the date), so I believe for the moment the skip is valid.
in this case. OK