This test used the old format of IMAGE_LINK_NAME that used to contain DATETIME information. Now it uses IMAGE_LINK_NAME and DATETIME variables to determine the path to the image.
Signed-off-by: Corneliu Stoicescu <corneliux.stoice...@intel.com> --- meta/lib/oeqa/selftest/buildoptions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index ef6579b..9a22c06 100644 --- a/meta/lib/oeqa/selftest/buildoptions.py +++ b/meta/lib/oeqa/selftest/buildoptions.py @@ -26,7 +26,8 @@ class ImageOptionsTests(oeSelfTest): bitbake("core-image-minimal") deploydir = get_bb_var("DEPLOY_DIR_IMAGE", target="core-image-minimal") imagename = get_bb_var("IMAGE_LINK_NAME", target="core-image-minimal") - oldimgpath = os.path.realpath(os.path.join(deploydir, imagename + ".ext3")) + datetime = get_bb_var("DATETIME", target="core-image-minimal") + oldimgpath = os.path.realpath(os.path.join(deploydir, imagename + '-' + datetime + ".rootfs.ext3")) self.append_config("RM_OLD_IMAGE = \"1\"") bitbake("core-image-minimal") self.assertFalse(os.path.exists(oldimgpath), msg="Old image path still exists: %s" % oldimgpath) -- 1.7.9.5 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core