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:38 +0000
commitfbc75aa226e33c5ef5d3696b1c9c0f6652f23a98 (patch)
treebe411ff507700210b03a249dcedcc80d5bc80e37
parent6063baedd741e1ae86a2c42cd2dc41899718a2d5 (diff)
downloadopenembedded-core-contrib-fbc75aa226e33c5ef5d3696b1c9c0f6652f23a98.tar.gz
openembedded-core-contrib-fbc75aa226e33c5ef5d3696b1c9c0f6652f23a98.tar.bz2
openembedded-core-contrib-fbc75aa226e33c5ef5d3696b1c9c0f6652f23a98.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. 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)