* [PATCH] selftest/devtool: skip test in case of poky-tiny distro
@ 2017-04-04 4:20 leonardo.sandoval.gonzalez
2017-04-04 10:22 ` Burton, Ross
0 siblings, 1 reply; 3+ messages in thread
From: leonardo.sandoval.gonzalez @ 2017-04-04 4:20 UTC (permalink / raw)
To: openembedded-core
From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
The recipe being tested (devtoo-test-patch-gz) by devtool has dependencies (at
least libxres and virtual/libx11) that cannot be built with poky-tiny distro so
skip the test for this particular policy.
[YOCTO #10891]
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
---
meta/lib/oeqa/selftest/devtool.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index 7f9efe6..7e65e52 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -1035,6 +1035,8 @@ class DevtoolTests(DevtoolBase):
def test_devtool_update_recipe_local_patch_gz(self):
# First, modify the recipe
testrecipe = 'devtool-test-patch-gz'
+ if get_bb_var('DISTRO') == 'poky-tiny':
+ self.skipTest("The DISTRO 'poky-tiny' does not provide the dependencies needed by %s" % testrecipe)
bb_vars = get_bb_vars(['FILE', 'SRC_URI'], testrecipe)
recipefile = bb_vars['FILE']
src_uri = bb_vars['SRC_URI']
--
2.10.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] selftest/devtool: skip test in case of poky-tiny distro
2017-04-04 4:20 [PATCH] selftest/devtool: skip test in case of poky-tiny distro leonardo.sandoval.gonzalez
@ 2017-04-04 10:22 ` Burton, Ross
2017-04-04 14:13 ` Leonardo Sandoval
0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2017-04-04 10:22 UTC (permalink / raw)
To: Leonardo Sandoval; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
On 4 April 2017 at 05:20, <leonardo.sandoval.gonzalez@linux.intel.com>
wrote:
> The recipe being tested (devtoo-test-patch-gz) by devtool has dependencies
> (at
> least libxres and virtual/libx11) that cannot be built with poky-tiny
> distro so
> skip the test for this particular policy.
>
I think that whilst this is probably a good fix for now as we're trying to
stabilise, changing the test so that it can be built with poky-tiny would
be sensible.
Ross
[-- Attachment #2: Type: text/html, Size: 905 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] selftest/devtool: skip test in case of poky-tiny distro
2017-04-04 10:22 ` Burton, Ross
@ 2017-04-04 14:13 ` Leonardo Sandoval
0 siblings, 0 replies; 3+ messages in thread
From: Leonardo Sandoval @ 2017-04-04 14:13 UTC (permalink / raw)
To: Burton, Ross; +Cc: Eggleton, Paul, OE-core
On Tue, 2017-04-04 at 11:22 +0100, Burton, Ross wrote:
>
> On 4 April 2017 at 05:20, <leonardo.sandoval.gonzalez@linux.intel.com>
> wrote:
> The recipe being tested (devtoo-test-patch-gz) by devtool has
> dependencies (at
> least libxres and virtual/libx11) that cannot be built with
> poky-tiny distro so
> skip the test for this particular policy.
>
>
> I think that whilst this is probably a good fix for now as we're
> trying to stabilise, changing the test so that it can be built with
> poky-tiny would be sensible.
Agree. We need to think of a 'simpler recipe' used by devtool test case
that can be used together with non-poky distros.
>
>
> Ross
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-04 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-04 4:20 [PATCH] selftest/devtool: skip test in case of poky-tiny distro leonardo.sandoval.gonzalez
2017-04-04 10:22 ` Burton, Ross
2017-04-04 14:13 ` Leonardo Sandoval
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox