summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Laplante <chris.laplante@agilent.com>2020-11-18 15:56:36 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-24 10:27:45 +0000
commited794b740bd8a8649087bb66756abf932c5aa02a (patch)
treeb0c95b3d419114893e6f01b38ca8f134b6e0c2bf
parent5eae1f2cebc0d60588c12b5668b1c45eabb540e9 (diff)
downloadpoky-ed794b740bd8a8649087bb66756abf932c5aa02a.tar.gz
poky-ed794b740bd8a8649087bb66756abf932c5aa02a.tar.bz2
poky-ed794b740bd8a8649087bb66756abf932c5aa02a.zip
cases/bbtests.py: ensure PACKAGE_CLASSES is set to RPM for bbtests.BitbakeTests.test_force_task_1
This is because the test expects to find "do_package_write_rpm" in the bitbake output. (From OE-Core rev: fbc75aa226e33c5ef5d3696b1c9c0f6652f23a98) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/bbtests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py
index dc423ec439..79390acc0d 100644
--- a/meta/lib/oeqa/selftest/cases/bbtests.py
+++ b/meta/lib/oeqa/selftest/cases/bbtests.py
@@ -89,6 +89,7 @@ class BitbakeTests(OESelftestTestCase):
image_dir = bb_vars['D']
pkgsplit_dir = bb_vars['PKGDEST']
man_dir = bb_vars['mandir']
+ self.write_config("PACKAGE_CLASSES = \"package_rpm\"")
bitbake('-c clean %s' % test_recipe)
bitbake('-c package -f %s' % test_recipe)