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
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):
89 image_dir = bb_vars['D'] 89 image_dir = bb_vars['D']
90 pkgsplit_dir = bb_vars['PKGDEST'] 90 pkgsplit_dir = bb_vars['PKGDEST']
91 man_dir = bb_vars['mandir'] 91 man_dir = bb_vars['mandir']
92 self.write_config("PACKAGE_CLASSES = \"package_rpm\"")
92 93
93 bitbake('-c clean %s' % test_recipe) 94 bitbake('-c clean %s' % test_recipe)
94 bitbake('-c package -f %s' % test_recipe) 95 bitbake('-c package -f %s' % test_recipe)