]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa: bbtests.BitbakeTests.test_image_manifest: use just isfile() instead of islink()
authorMartin Jansa <martin.jansa@gmail.com>
Thu, 16 Nov 2023 07:39:54 +0000 (08:39 +0100)
committerMartin Jansa <martin.jansa@gmail.com>
Fri, 12 Jul 2024 07:36:57 +0000 (09:36 +0200)
commit5b8ffde68deac7cce0d66ae012b09ee87838fc96
treeac489535ccb1b5dd59ffab31cc247949104d56c7
parent311d5ecb218e63de0d9f4ed83b628a83191a2f40
oeqa: bbtests.BitbakeTests.test_image_manifest: use just isfile() instead of islink()

* with [YOCTO #12937] changes the manifest is hardlink not symlink

* fixes:
  2023-11-16 00:16:33,967 - oe-selftest - INFO - test_image_manifest (bbtests.BitbakeTests.test_image_manifest)
  2023-11-16 00:19:05,060 - oe-selftest - INFO -  ... FAIL
  2023-11-16 00:19:05,060 - oe-selftest - INFO - Traceback (most recent call last):
    File "/OE/build/poky/meta/lib/oeqa/selftest/cases/bbtests.py", line 139, in test_image_manifest
      self.assertTrue(os.path.islink(manifest), msg="No manifest file created for image. It should have been created in %s" % manifest)
  AssertionError: False is not true : No manifest file created for image. It should have been created in /OE/build/poky/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs--1.0-r0-20110405230000.manifest

[YOCTO #12937]

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
meta/lib/oeqa/selftest/cases/bbtests.py