From 9284af07f50afeb69ec0fc43e94b55b08c3550f8 Mon Sep 17 00:00:00 2001 From: Harish Sadineni Date: Fri, 22 Aug 2025 00:12:26 -0700 Subject: [PATCH] oeqa/selftest/cases/gcc.py: Increase QEMU RAM to 4GB The test pr61599-1.c fails because it requires more than 3GB of RAM. This change increases the allocated RAM to 4GB to prevent test failures. (From OE-Core rev: 745eedb1afcb4f8e28ca560ae41d3297bb63cdd4) Signed-off-by: Harish Sadineni Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/gcc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/gcc.py b/meta/lib/oeqa/selftest/cases/gcc.py index 1bda29a72b..eb8082db28 100644 --- a/meta/lib/oeqa/selftest/cases/gcc.py +++ b/meta/lib/oeqa/selftest/cases/gcc.py @@ -79,7 +79,8 @@ class GccSelfTestBase(OESelftestTestCase, OEPTestResultTestCase): bitbake("core-image-minimal") # wrap the execution with a qemu instance - with runqemu("core-image-minimal", runqemuparams = "nographic") as qemu: + # Increase RAM to 4GB to accommodate some GCC tests that require more than 3GB + with runqemu("core-image-minimal", runqemuparams = "nographic", qemuparams=" -m 4096") as qemu: # validate that SSH is working status, _ = qemu.run("uname") self.assertEqual(status, 0)