diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/lib/oeqa/selftest/cases/runtime_test.py | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/runtime_test.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index d0c2440722..4cfec94d85 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py | |||
@@ -120,7 +120,7 @@ class TestImage(OESelftestTestCase): | |||
120 | self.skipTest('core-image-full-cmdline not buildable for poky-tiny') | 120 | self.skipTest('core-image-full-cmdline not buildable for poky-tiny') |
121 | 121 | ||
122 | features = 'INHERIT += "testimage"\n' | 122 | features = 'INHERIT += "testimage"\n' |
123 | features += 'IMAGE_INSTALL_append = " libssl"\n' | 123 | features += 'IMAGE_INSTALL:append = " libssl"\n' |
124 | features += 'TEST_SUITES = "ping ssh selftest"\n' | 124 | features += 'TEST_SUITES = "ping ssh selftest"\n' |
125 | self.write_config(features) | 125 | self.write_config(features) |
126 | 126 | ||
@@ -186,14 +186,14 @@ class TestImage(OESelftestTestCase): | |||
186 | qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native') | 186 | qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native') |
187 | features = 'INHERIT += "testimage"\n' | 187 | features = 'INHERIT += "testimage"\n' |
188 | if 'gtk+' not in qemu_packageconfig: | 188 | if 'gtk+' not in qemu_packageconfig: |
189 | features += 'PACKAGECONFIG_append_pn-qemu-system-native = " gtk+"\n' | 189 | features += 'PACKAGECONFIG:append:pn-qemu-system-native = " gtk+"\n' |
190 | if 'sdl' not in qemu_packageconfig: | 190 | if 'sdl' not in qemu_packageconfig: |
191 | features += 'PACKAGECONFIG_append_pn-qemu-system-native = " sdl"\n' | 191 | features += 'PACKAGECONFIG:append:pn-qemu-system-native = " sdl"\n' |
192 | if 'opengl' not in qemu_distrofeatures: | 192 | if 'opengl' not in qemu_distrofeatures: |
193 | features += 'DISTRO_FEATURES_append = " opengl"\n' | 193 | features += 'DISTRO_FEATURES:append = " opengl"\n' |
194 | features += 'TEST_SUITES = "ping ssh virgl"\n' | 194 | features += 'TEST_SUITES = "ping ssh virgl"\n' |
195 | features += 'IMAGE_FEATURES_append = " ssh-server-dropbear"\n' | 195 | features += 'IMAGE_FEATURES:append = " ssh-server-dropbear"\n' |
196 | features += 'IMAGE_INSTALL_append = " kmscube"\n' | 196 | features += 'IMAGE_INSTALL:append = " kmscube"\n' |
197 | features_gtk = features + 'TEST_RUNQEMUPARAMS = "gtk gl"\n' | 197 | features_gtk = features + 'TEST_RUNQEMUPARAMS = "gtk gl"\n' |
198 | self.write_config(features_gtk) | 198 | self.write_config(features_gtk) |
199 | bitbake('core-image-minimal') | 199 | bitbake('core-image-minimal') |
@@ -225,10 +225,10 @@ class TestImage(OESelftestTestCase): | |||
225 | qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native') | 225 | qemu_distrofeatures = get_bb_var('DISTRO_FEATURES', 'qemu-system-native') |
226 | features = 'INHERIT += "testimage"\n' | 226 | features = 'INHERIT += "testimage"\n' |
227 | if 'opengl' not in qemu_distrofeatures: | 227 | if 'opengl' not in qemu_distrofeatures: |
228 | features += 'DISTRO_FEATURES_append = " opengl"\n' | 228 | features += 'DISTRO_FEATURES:append = " opengl"\n' |
229 | features += 'TEST_SUITES = "ping ssh virgl"\n' | 229 | features += 'TEST_SUITES = "ping ssh virgl"\n' |
230 | features += 'IMAGE_FEATURES_append = " ssh-server-dropbear"\n' | 230 | features += 'IMAGE_FEATURES:append = " ssh-server-dropbear"\n' |
231 | features += 'IMAGE_INSTALL_append = " kmscube"\n' | 231 | features += 'IMAGE_INSTALL:append = " kmscube"\n' |
232 | features += 'TEST_RUNQEMUPARAMS = "egl-headless"\n' | 232 | features += 'TEST_RUNQEMUPARAMS = "egl-headless"\n' |
233 | self.write_config(features) | 233 | self.write_config(features) |
234 | bitbake('core-image-minimal') | 234 | bitbake('core-image-minimal') |
@@ -254,7 +254,7 @@ class Postinst(OESelftestTestCase): | |||
254 | features += 'IMAGE_FEATURES += "package-management empty-root-password"\n' | 254 | features += 'IMAGE_FEATURES += "package-management empty-root-password"\n' |
255 | features += 'PACKAGE_CLASSES = "%s"\n' % classes | 255 | features += 'PACKAGE_CLASSES = "%s"\n' % classes |
256 | if init_manager == "systemd": | 256 | if init_manager == "systemd": |
257 | features += 'DISTRO_FEATURES_append = " systemd"\n' | 257 | features += 'DISTRO_FEATURES:append = " systemd"\n' |
258 | features += 'VIRTUAL-RUNTIME_init_manager = "systemd"\n' | 258 | features += 'VIRTUAL-RUNTIME_init_manager = "systemd"\n' |
259 | features += 'DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"\n' | 259 | features += 'DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"\n' |
260 | features += 'VIRTUAL-RUNTIME_initscripts = ""\n' | 260 | features += 'VIRTUAL-RUNTIME_initscripts = ""\n' |
@@ -371,14 +371,14 @@ TEST_SERVER_IP = "192.168.7.1" | |||
371 | TEST_TARGET_IP = "192.168.7.2" | 371 | TEST_TARGET_IP = "192.168.7.2" |
372 | 372 | ||
373 | EXTRA_IMAGE_FEATURES += "tools-profile dbg-pkgs" | 373 | EXTRA_IMAGE_FEATURES += "tools-profile dbg-pkgs" |
374 | IMAGE_FEATURES_append = " ssh-server-dropbear" | 374 | IMAGE_FEATURES:append = " ssh-server-dropbear" |
375 | 375 | ||
376 | # enables kernel debug symbols | 376 | # enables kernel debug symbols |
377 | KERNEL_EXTRA_FEATURES_append = " features/debug/debug-kernel.scc" | 377 | KERNEL_EXTRA_FEATURES:append = " features/debug/debug-kernel.scc" |
378 | KERNEL_EXTRA_FEATURES_append = " features/systemtap/systemtap.scc" | 378 | KERNEL_EXTRA_FEATURES:append = " features/systemtap/systemtap.scc" |
379 | 379 | ||
380 | # add systemtap run-time into target image if it is not there yet | 380 | # add systemtap run-time into target image if it is not there yet |
381 | IMAGE_INSTALL_append = " systemtap-runtime" | 381 | IMAGE_INSTALL:append = " systemtap-runtime" |
382 | """ | 382 | """ |
383 | 383 | ||
384 | def test_crosstap_helloworld(self): | 384 | def test_crosstap_helloworld(self): |