From: Adrian Freihofer Date: Tue, 3 Jun 2025 08:23:29 +0000 (+0200) Subject: oe-selftest: fitimage: remove kernel-fitimage tests X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c699dc66fd30cdfc5a3d53997107b870b9e4af65;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oe-selftest: fitimage: remove kernel-fitimage tests Remove the test cases for the kernel-fitimage.bbclass. Signed-off-by: Adrian Freihofer Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py b/meta/lib/oeqa/selftest/cases/fitimage.py index 7b6cba1d066..be291e4b0f4 100644 --- a/meta/lib/oeqa/selftest/cases/fitimage.py +++ b/meta/lib/oeqa/selftest/cases/fitimage.py @@ -437,8 +437,6 @@ class KernelFitImageBase(FitImageTestCase): def _config_add_kernel_classes(self, config): 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 += '# Avoid naming clashes in the deploy folder with kernel-fitimage.bbclass artifacts' + os.linesep - config += 'KERNEL_DEPLOYSUBDIR = "linux-yocto-fitimage"' + os.linesep return config @property @@ -1022,20 +1020,6 @@ FIT_HASH_ALG = "sha256" self._gen_signing_key(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): """Test cases for the fitimage.py module without calling bitbake"""