[oe-commits] [openembedded-core] 02/17: pkgdata.py: avoid target-sdk-dummy-provides to mess things up

git at git.openembedded.org git at git.openembedded.org
Thu Jan 31 23:24:04 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit b3001770df6640549270361bfaa449cb3e79a0b7
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Wed Jan 30 10:56:24 2019 +0800

    pkgdata.py: avoid target-sdk-dummy-provides to mess things up
    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'
      + 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 at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 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 3877640..aa05f40 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')

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list