]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Jan 2019 23:04:50 +0000 (23:04 +0000)
commitb3001770df6640549270361bfaa449cb3e79a0b7
tree9218ba34aec3350e5aafb5a6fd20ab840ae000b9
parentec638ae0775c79a00b364bc59e099edc8f1f201e
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>
meta/lib/oeqa/selftest/cases/pkgdata.py