oe-selftest: fitimage: remove kernel-fitimage tests

Remove the test cases for the kernel-fitimage.bbclass.

(From OE-Core rev: c699dc66fd30cdfc5a3d53997107b870b9e4af65)

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-06-03 10:23:29 +02:00 committed by Richard Purdie
parent 43949b9d08
commit 7114f4e07e

View File

@ -437,8 +437,6 @@ class KernelFitImageBase(FitImageTestCase):
def _config_add_kernel_classes(self, config): def _config_add_kernel_classes(self, config):
config += '# Use kernel-fit-extra-artifacts.bbclass for the creation of the vmlinux artifact' + os.linesep config += '# Use kernel-fit-extra-artifacts.bbclass for the creation of the vmlinux artifact' + os.linesep
config += 'KERNEL_CLASSES = "kernel-fit-extra-artifacts"' + os.linesep config += 'KERNEL_CLASSES = "kernel-fit-extra-artifacts"' + os.linesep
config += '# Avoid naming clashes in the deploy folder with kernel-fitimage.bbclass artifacts' + os.linesep
config += 'KERNEL_DEPLOYSUBDIR = "linux-yocto-fitimage"' + os.linesep
return config return config
@property @property
@ -1022,20 +1020,6 @@ FIT_HASH_ALG = "sha256"
self._gen_signing_key(bb_vars) self._gen_signing_key(bb_vars)
self._test_fitimage(bb_vars) self._test_fitimage(bb_vars)
class KernelFitImageTests(KernelFitImageRecipeTests):
"""Test cases for the kernel-fitimage.bbclass"""
@property
def kernel_recipe(self):
# virtual/kernel does not work with SRC_URI:append:pn-%s
return "linux-yocto"
def _config_add_kernel_classes(self, config):
config += '# Use kernel-fitimage.bbclass for the creation of the fitImage' + os.linesep
config += 'KERNEL_IMAGETYPES += " fitImage "' + os.linesep
config += 'KERNEL_CLASSES = " kernel-fitimage "' + os.linesep
return config
class FitImagePyTests(KernelFitImageBase): class FitImagePyTests(KernelFitImageBase):
"""Test cases for the fitimage.py module without calling bitbake""" """Test cases for the fitimage.py module without calling bitbake"""