oeqa/selftest/cases/gcc.py: add libitm to default installed packages.

When running oe-selftest few libitm tests were getting failed due
to below error:
/tmp/runtest.923959/alloc-1.exe: error while loading shared libraries:
libitm.so.1: cannot open shared object file: No such file or directory

Adding libitm to default installed packages to fix this issue.

(From OE-Core rev: 0bc2cc9589b5cd3e11cbba1bb588785845db4faa)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Harish Sadineni
2025-09-01 21:19:19 -07:00
committed by Richard Purdie
parent 9544bd9f57
commit 39d5df91ed

View File

@@ -71,7 +71,7 @@ class GccSelfTestBase(OESelftestTestCase, OEPTestResultTestCase):
def run_check_emulated(self, *args, **kwargs):
# build core-image-minimal with required packages
default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp"]
default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp", "libitm"]
features = []
features.append('IMAGE_FEATURES += "ssh-server-openssh"')
features.append('CORE_IMAGE_EXTRA_INSTALL += "{0}"'.format(" ".join(default_installed_packages)))