cases/bbtests.py: ensure PACKAGE_CLASSES is set to RPM for bbtests.BitbakeTests.test_force_task_1

Submitted by Chris Laplante via lists.openembedded.org on Nov. 18, 2020, 8:56 p.m. | Patch ID: 178050

Details

Message ID 20201118205636.126372-1-chris.laplante@agilent.com
State Accepted
Commit fbc75aa226e33c5ef5d3696b1c9c0f6652f23a98
Headers show

Commit Message

From: Chris Laplante <chris.laplante@agilent.com>


This is because the test expects to find "do_package_write_rpm" in the
bitbake output.

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>

---
 meta/lib/oeqa/selftest/cases/bbtests.py | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#144788): https://lists.openembedded.org/g/openembedded-core/message/144788
Mute This Topic: https://lists.openembedded.org/mt/78350813/1003190
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

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)