oe-selftest: devtool: run without poky

If DISTRO is set to poky, the ptest DISTRO_FEATURE is enable. However,
without meta-poky layer, ptest packages are not compiled and the tests
fail with:
   ERROR: Nothing RPROVIDES 'cmake-example-ptest'...

(From OE-Core rev: 7b5b0908a6acf43384a13f2e6801e014a61b8e8f)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Adrian Freihofer
2025-07-12 15:06:37 +02:00
committed by Richard Purdie
parent 55239572a4
commit ad5df78c55

View File

@@ -2530,7 +2530,8 @@ class DevtoolIdeSdkTests(DevtoolBase):
'IMAGE_CLASSES += "image-combined-dbg"',
'IMAGE_GEN_DEBUGFS = "1"',
'IMAGE_INSTALL:append = " gdbserver %s"' % ' '.join(
[r + '-ptest' for r in recipe_names])
[r + '-ptest' for r in recipe_names]),
'DISTRO_FEATURES:append = " ptest"'
]
self.write_config("\n".join(conf_lines))