All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] selftest: skip tests for poky-tiny distro due to incompatible kernel machine
@ 2016-11-24 21:34 leonardo.sandoval.gonzalez
  2016-11-24 21:34 ` [PATCH v2 1/1] " leonardo.sandoval.gonzalez
  0 siblings, 1 reply; 5+ messages in thread
From: leonardo.sandoval.gonzalez @ 2016-11-24 21:34 UTC (permalink / raw)
  To: poky

From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>

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(-)

-- 
2.1.4



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 1/1] selftest: skip tests for poky-tiny distro due to incompatible kernel machine
  2016-11-24 21:34 [PATCH v2 0/1] selftest: skip tests for poky-tiny distro due to incompatible kernel machine leonardo.sandoval.gonzalez
@ 2016-11-24 21:34 ` leonardo.sandoval.gonzalez
  2016-11-26  4:10   ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: leonardo.sandoval.gonzalez @ 2016-11-24 21:34 UTC (permalink / raw)
  To: poky

From: Leonardo Sandoval <leonardo.sandoval.gonzalez@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.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@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



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/1] selftest: skip tests for poky-tiny distro due to incompatible kernel machine
  2016-11-24 21:34 ` [PATCH v2 1/1] " leonardo.sandoval.gonzalez
@ 2016-11-26  4:10   ` Khem Raj
  2016-11-29 16:57     ` Leonardo Sandoval
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2016-11-26  4:10 UTC (permalink / raw)
  To: leonardo.sandoval.gonzalez; +Cc: poky


> On Nov 24, 2016, at 1:34 PM, leonardo.sandoval.gonzalez@linux.intel.com wrote:
> 
> From: Leonardo Sandoval <leonardo.sandoval.gonzalez@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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/1] selftest: skip tests for poky-tiny distro due to incompatible kernel machine
  2016-11-26  4:10   ` Khem Raj
@ 2016-11-29 16:57     ` Leonardo Sandoval
  2016-11-29 17:19       ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Leonardo Sandoval @ 2016-11-29 16:57 UTC (permalink / raw)
  To: Khem Raj; +Cc: poky



On 11/25/2016 10:10 PM, Khem Raj wrote:
>> On Nov 24, 2016, at 1:34 PM, leonardo.sandoval.gonzalez@linux.intel.com wrote:
>>
>> From: Leonardo Sandoval <leonardo.sandoval.gonzalez@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 ?
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/1] selftest: skip tests for poky-tiny distro due to incompatible kernel machine
  2016-11-29 16:57     ` Leonardo Sandoval
@ 2016-11-29 17:19       ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2016-11-29 17:19 UTC (permalink / raw)
  To: Leonardo Sandoval; +Cc: poky


> On Nov 29, 2016, at 8:57 AM, Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> wrote:
> 
> 
> 
> On 11/25/2016 10:10 PM, Khem Raj wrote:
>>> On Nov 24, 2016, at 1:34 PM, leonardo.sandoval.gonzalez@linux.intel.com wrote:
>>> 
>>> From: Leonardo Sandoval <leonardo.sandoval.gonzalez@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 ?
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-29 17:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-24 21:34 [PATCH v2 0/1] selftest: skip tests for poky-tiny distro due to incompatible kernel machine leonardo.sandoval.gonzalez
2016-11-24 21:34 ` [PATCH v2 1/1] " leonardo.sandoval.gonzalez
2016-11-26  4:10   ` Khem Raj
2016-11-29 16:57     ` Leonardo Sandoval
2016-11-29 17:19       ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.