summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2019-01-30 10:56:24 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-31 23:23:26 +0000
commitb68a42596d69b0fee1ef6f7181a823718b014094 (patch)
tree99227e0fd828bfbbc8dd01a1194d4a6c6013c6bd /meta/lib/oeqa/selftest/cases
parentfcfa51ce89cd49f4be19a299425f9cbf4c16638b (diff)
downloadpoky-b68a42596d69b0fee1ef6f7181a823718b014094.tar.gz
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. (From OE-Core rev: b3001770df6640549270361bfaa449cb3e79a0b7) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases')
-rw-r--r--meta/lib/oeqa/selftest/cases/pkgdata.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/pkgdata.py b/meta/lib/oeqa/selftest/cases/pkgdata.py
index 3877640349..aa05f40d6a 100644
--- a/meta/lib/oeqa/selftest/cases/pkgdata.py
+++ b/meta/lib/oeqa/selftest/cases/pkgdata.py
@@ -13,6 +13,7 @@ class OePkgdataUtilTests(OESelftestTestCase):
13 super(OePkgdataUtilTests, cls).setUpClass() 13 super(OePkgdataUtilTests, cls).setUpClass()
14 # Ensure we have the right data in pkgdata 14 # Ensure we have the right data in pkgdata
15 cls.logger.info('Running bitbake to generate pkgdata') 15 cls.logger.info('Running bitbake to generate pkgdata')
16 bitbake('target-sdk-provides-dummy -c clean')
16 bitbake('busybox zlib m4') 17 bitbake('busybox zlib m4')
17 18
18 @OETestID(1203) 19 @OETestID(1203)