All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] pkgdata.py: avoid target-sdk-dummy-provides to mess things up
@ 2019-01-29  9:14 Chen Qi
  2019-01-29  9:14 ` [PATCH 1/1] " Chen Qi
  0 siblings, 1 reply; 4+ messages in thread
From: Chen Qi @ 2019-01-29  9:14 UTC (permalink / raw)
  To: openembedded-core

*** BLURB HERE ***
The following changes since commit ecfe26834922861ab69602b8c1aa404080f0fb0c:

  libtool: Fix ignoring compiler-rt libs (2019-01-27 13:05:17 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/pkgdata-clean
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/pkgdata-clean

Chen Qi (1):
  pkgdata.py: avoid target-sdk-dummy-provides to mess things up

 meta/lib/oeqa/selftest/cases/pkgdata.py | 1 +
 1 file changed, 1 insertion(+)

-- 
1.9.1



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

* [PATCH 1/1] pkgdata.py: avoid target-sdk-dummy-provides to mess things up
  2019-01-29  9:14 [PATCH 0/1] pkgdata.py: avoid target-sdk-dummy-provides to mess things up Chen Qi
@ 2019-01-29  9:14 ` Chen Qi
  2019-01-29  9:17   ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Chen Qi @ 2019-01-29  9:14 UTC (permalink / raw)
  To: openembedded-core

Sometimes we meet the following failure for the test_lookup_recipe
test case.

  AssertionError: 'zlib\nbusybox is in the RPROVIDES of target-sdk-provid[32 chars]ummy' != 'zlib\nbusybox'
    zlib
  + busybox- busybox is in the RPROVIDES of target-sdk-provides-dummy:
  - target-sdk-provides-dummy

This is because target-sdk-provides-dummy rprovides busybox.

So clean things up to avoid failure.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/lib/oeqa/selftest/cases/pkgdata.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/selftest/cases/pkgdata.py b/meta/lib/oeqa/selftest/cases/pkgdata.py
index 0b4caf1..e02c6c4 100644
--- a/meta/lib/oeqa/selftest/cases/pkgdata.py
+++ b/meta/lib/oeqa/selftest/cases/pkgdata.py
@@ -13,6 +13,7 @@ class OePkgdataUtilTests(OESelftestTestCase):
         super(OePkgdataUtilTests, cls).setUpClass()
         # Ensure we have the right data in pkgdata
         cls.logger.info('Running bitbake to generate pkgdata')
+        bitbake('target-sdk-provides-dummy -c cleansstate')
         bitbake('busybox zlib m4')
 
     @OETestID(1203)
-- 
1.9.1



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

* Re: [PATCH 1/1] pkgdata.py: avoid target-sdk-dummy-provides to mess things up
  2019-01-29  9:14 ` [PATCH 1/1] " Chen Qi
@ 2019-01-29  9:17   ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2019-01-29  9:17 UTC (permalink / raw)
  To: Chen Qi, openembedded-core

On Tue, 2019-01-29 at 17:14 +0800, Chen Qi wrote:
> Sometimes we meet the following failure for the test_lookup_recipe
> test case.
> 
>   AssertionError: 'zlib\nbusybox is in the RPROVIDES of target-sdk-
> provid[32 chars]ummy' != 'zlib\nbusybox'
>     zlib
>   + busybox- busybox is in the RPROVIDES of target-sdk-provides-
> dummy:
>   - target-sdk-provides-dummy
> 
> This is because target-sdk-provides-dummy rprovides busybox.
> 
> So clean things up to avoid failure.
> 
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>  meta/lib/oeqa/selftest/cases/pkgdata.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/lib/oeqa/selftest/cases/pkgdata.py
> b/meta/lib/oeqa/selftest/cases/pkgdata.py
> index 0b4caf1..e02c6c4 100644
> --- a/meta/lib/oeqa/selftest/cases/pkgdata.py
> +++ b/meta/lib/oeqa/selftest/cases/pkgdata.py
> @@ -13,6 +13,7 @@ class OePkgdataUtilTests(OESelftestTestCase):
>          super(OePkgdataUtilTests, cls).setUpClass()
>          # Ensure we have the right data in pkgdata
>          cls.logger.info('Running bitbake to generate pkgdata')
> +        bitbake('target-sdk-provides-dummy -c cleansstate')
>          bitbake('busybox zlib m4')

Nice debugging!

clean is enough here, we don't want to run cleansstate on what might be
a shared sstate cache though.

Cheers,

Richard



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

* [PATCH 1/1] pkgdata.py: avoid target-sdk-dummy-provides to mess things up
  2019-01-30  2:56 [PATCH V2 0/1] " Chen Qi
@ 2019-01-30  2:56 ` Chen Qi
  0 siblings, 0 replies; 4+ messages in thread
From: Chen Qi @ 2019-01-30  2:56 UTC (permalink / raw)
  To: openembedded-core

Sometimes we meet the following failure for the test_lookup_recipe
test case.

  AssertionError: 'zlib\nbusybox is in the RPROVIDES of target-sdk-provid[32 chars]ummy' != 'zlib\nbusybox'
    zlib
  + busybox- busybox is in the RPROVIDES of target-sdk-provides-dummy:
  - target-sdk-provides-dummy

This is because target-sdk-provides-dummy rprovides busybox.

So clean things up to avoid failure.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/lib/oeqa/selftest/cases/pkgdata.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/selftest/cases/pkgdata.py b/meta/lib/oeqa/selftest/cases/pkgdata.py
index 0b4caf1..9911765 100644
--- a/meta/lib/oeqa/selftest/cases/pkgdata.py
+++ b/meta/lib/oeqa/selftest/cases/pkgdata.py
@@ -13,6 +13,7 @@ class OePkgdataUtilTests(OESelftestTestCase):
         super(OePkgdataUtilTests, cls).setUpClass()
         # Ensure we have the right data in pkgdata
         cls.logger.info('Running bitbake to generate pkgdata')
+        bitbake('target-sdk-provides-dummy -c clean')
         bitbake('busybox zlib m4')
 
     @OETestID(1203)
-- 
1.9.1



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

end of thread, other threads:[~2019-01-30  2:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-29  9:14 [PATCH 0/1] pkgdata.py: avoid target-sdk-dummy-provides to mess things up Chen Qi
2019-01-29  9:14 ` [PATCH 1/1] " Chen Qi
2019-01-29  9:17   ` Richard Purdie
2019-01-30  2:56 [PATCH V2 0/1] " Chen Qi
2019-01-30  2:56 ` [PATCH 1/1] " Chen Qi

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.