mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
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 <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:
committed by
Richard Purdie
parent
a6ce306fd3
commit
9284af07f5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user