diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-11-19 22:35:27 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-02 16:53:08 +0000 |
commit | 22c84eea241d3d253b7ccaf11b0a3019a8598030 (patch) | |
tree | 6cb3233b1ac235f7a8a638cdf3df69880a11551a /meta/lib/oeqa | |
parent | 6e1c3966d11961ccdb2e5917188a4a7648bf72da (diff) | |
download | poky-22c84eea241d3d253b7ccaf11b0a3019a8598030.tar.gz |
oeqa: fix warnings for append operators combined with +=
(From OE-Core rev: 392d9878e9a195503bbc66e5ed2fadce9d632902)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/ksample.py | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/selftest/cases/imagefeatures.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ksample.py b/meta/lib/oeqa/runtime/cases/ksample.py index a9a1620ebd..9883aa9aa8 100644 --- a/meta/lib/oeqa/runtime/cases/ksample.py +++ b/meta/lib/oeqa/runtime/cases/ksample.py | |||
@@ -10,7 +10,7 @@ from oeqa.core.decorator.depends import OETestDepends | |||
10 | from oeqa.core.decorator.data import skipIfNotFeature | 10 | from oeqa.core.decorator.data import skipIfNotFeature |
11 | 11 | ||
12 | # need some kernel fragments | 12 | # need some kernel fragments |
13 | # echo "KERNEL_FEATURES_append += \" features\/kernel\-sample\/kernel\-sample.scc\"" >> local.conf | 13 | # echo "KERNEL_FEATURES_append = \" features\/kernel\-sample\/kernel\-sample.scc\"" >> local.conf |
14 | class KSample(OERuntimeTestCase): | 14 | class KSample(OERuntimeTestCase): |
15 | def cmd_and_check(self, cmd='', match_string=''): | 15 | def cmd_and_check(self, cmd='', match_string=''): |
16 | status, output = self.target.run(cmd) | 16 | status, output = self.target.run(cmd) |
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py index 2b9c4998f7..535d80cb86 100644 --- a/meta/lib/oeqa/selftest/cases/imagefeatures.py +++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py | |||
@@ -240,7 +240,7 @@ USERADD_GID_TABLES += "files/static-group" | |||
240 | def test_no_busybox_base_utils(self): | 240 | def test_no_busybox_base_utils(self): |
241 | config = """ | 241 | config = """ |
242 | # Enable x11 | 242 | # Enable x11 |
243 | DISTRO_FEATURES_append += "x11" | 243 | DISTRO_FEATURES_append = " x11" |
244 | 244 | ||
245 | # Switch to systemd | 245 | # Switch to systemd |
246 | DISTRO_FEATURES += "systemd" | 246 | DISTRO_FEATURES += "systemd" |