@@ -941,6 +941,17 @@ FIT_HASH_ALG = "sha256"
bb_vars = self._fit_get_bb_vars()
self._test_fitimage(bb_vars)
+class KernelFitImageRecipeTests(KernelFitImageTests):
+ """Test cases for the linux-yocto-fitimage recipe"""
+
+ @property
+ def kernel_recipe(self):
+ return "linux-yocto-fitimage"
+
+ def _config_add_kernel_classes(self, config):
+ config += '# Avoid naming clashes in the deploy folder with kernel-fitimage.bbclass artifacts' + os.linesep
+ config += 'KERNEL_DEPLOYSUBDIR:pn-linux-yocto-fitimage = "linux-yocto-fitimage"' + os.linesep
+ return config
class FitImagePyTests(KernelFitImageBase):
"""Test cases for the fitimage.py module without calling bitbake"""