]> code.ossystems Code Review - openembedded-core.git/commit
pkgdata.py: avoid target-sdk-dummy-provides to mess things up
authorChen Qi <Qi.Chen@windriver.com>
Wed, 30 Jan 2019 02:56:24 +0000 (10:56 +0800)
committerArmin Kuster <akuster808@gmail.com>
Sun, 7 Apr 2019 04:26:59 +0000 (09:56 +0530)
commit7b5a069d4f11e36a1c407c4212aba5aafaf4ee7f
treeb4ee86c8706a2149b585b0694eba0d76d3546f60
parent31449f3a7649be781b7b61f915d5e879728e87af
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'
    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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oeqa/selftest/cases/pkgdata.py