Skip to contentSkip to conversation

oeqa: fix warnings for append operators combined with +=

PATCH New Yi Zhao 1 participant 1 message Nov 19, 2021

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 oeqa: fix warnings for append operators combined with +=

---
 meta/lib/oeqa/runtime/cases/ksample.py        | 2 +-
 meta/lib/oeqa/selftest/cases/imagefeatures.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/lib/oeqa/runtime/cases/ksample.py +1 -1
index 4d12d1d07d..c69e3fe4ac 100644
@@ -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)
meta/lib/oeqa/selftest/cases/imagefeatures.py +1 -1
index 12902add94..18f37c6d7d 100644
@@ -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"
Signature · 1 line
2.25.1