Re: [OE-core] [PATCH 3/9] selftest: skip test_read_only_image on poky-tiny distro
On 10/17/2016 06:48 AM, Burton, Ross wrote: On 14 October 2016 at 17:40,> wrote: + if self.distro == 'poky-tiny': +self.skipTest('core-image-sato is not buildable with poky-tiny') DISTRO_FEATURE check - sato needs opengl x11 so this is the actual blocker. For a read_only_image test, switching the image to core-image-base or similar would exercise the code just as well without needing as much building or assumptions on DISTRO/MACHINE. I see. So instead of using the distro value, I will use the 'libx11 in DISTRO_FEATURE' check. Sending V2 today. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 3/9] selftest: skip test_read_only_image on poky-tiny distro
On 14 October 2016 at 17:40,wrote: > +if self.distro == 'poky-tiny': > +self.skipTest('core-image-sato is not buildable with > poky-tiny') > DISTRO_FEATURE check - sato needs opengl x11 so this is the actual blocker. For a read_only_image test, switching the image to core-image-base or similar would exercise the code just as well without needing as much building or assumptions on DISTRO/MACHINE. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH 3/9] selftest: skip test_read_only_image on poky-tiny distro
From: Leonardo SandovalThe test test_read_only_image builds core-image-sato which is not buildable in poky-tiny so skip it if this is the case. [YOCTO #8525] Signed-off-by: Leonardo Sandoval --- meta/lib/oeqa/selftest/buildoptions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index 86e4836..fca541b 100644 --- a/meta/lib/oeqa/selftest/buildoptions.py +++ b/meta/lib/oeqa/selftest/buildoptions.py @@ -60,6 +60,8 @@ class ImageOptionsTests(oeSelfTest): @testcase(1435) def test_read_only_image(self): self.write_config('IMAGE_FEATURES += "read-only-rootfs"') +if self.distro == 'poky-tiny': +self.skipTest('core-image-sato is not buildable with poky-tiny') bitbake("core-image-sato") # do_image will fail if there are any pending postinsts -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core