]> 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)
committerSteve Sakoman <steve@sakoman.com>
Thu, 2 Dec 2021 15:11:21 +0000 (05:11 -1000)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f2504115f08b173d919d9abe507a0ba440b0d4df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/runtime/cases/ksample.py
meta/lib/oeqa/selftest/cases/imagefeatures.py

index a9a1620ebd4360e30a25c3cf26457f02e8fab103..9883aa9aa8c335d56316b8c5291fd7fe7dfbc2bb 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 2b9c4998f79f7fe46acabf2c17b31867f1c5a883..535d80cb86d34211790966dd7c0d0fcf6902d597 100644 (file)
@@ -240,7 +240,7 @@ USERADD_GID_TABLES += "files/static-group"
     def test_no_busybox_base_utils(self):
         config = """
 # Enable x11
-DISTRO_FEATURES_append += "x11"
+DISTRO_FEATURES_append = " x11"
 
 # Switch to systemd
 DISTRO_FEATURES += "systemd"