]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa: fix warnings for append operators combined with +=
authorYi Zhao <yi.zhao@windriver.com>
Fri, 19 Nov 2021 14:35:27 +0000 (22:35 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Nov 2021 10:53:12 +0000 (10:53 +0000)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/ksample.py
meta/lib/oeqa/selftest/cases/imagefeatures.py

index 4d12d1d07d9bca1f8859081028564d7f776e5fdc..c69e3fe4ac3f8bdd6a35210cbf54529d5c8a31ab 100644 (file)
@@ -10,7 +10,7 @@ from oeqa.core.decorator.depends import OETestDepends
 from oeqa.core.decorator.data import skipIfNotFeature
 
 # need some kernel fragments
-# echo "KERNEL_FEATURES:append += \" features\/kernel\-sample\/kernel\-sample.scc\"" >> local.conf
+# echo "KERNEL_FEATURES:append = \" features\/kernel\-sample\/kernel\-sample.scc\"" >> local.conf
 class KSample(OERuntimeTestCase):
     def cmd_and_check(self, cmd='', match_string=''):
         status, output = self.target.run(cmd)
index 12902add94fb84b21920d15882d8270ea07a7718..18f37c6d7d96c3934a85bd37106c23905c630add 100644 (file)
@@ -229,7 +229,7 @@ USERADD_GID_TABLES += "files/static-group"
     def test_no_busybox_base_utils(self):
         config = """
 # Enable wayland
-DISTRO_FEATURES:append += "pam opengl wayland"
+DISTRO_FEATURES:append = " pam opengl wayland"
 
 # Switch to systemd
 DISTRO_FEATURES += "systemd"