]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
selftest/cases/glibc.py: increase the memory for testing
authorAnuj Mittal <anuj.mittal@intel.com>
Wed, 26 Jul 2023 16:22:07 +0000 (00:22 +0800)
committerSteve Sakoman <steve@sakoman.com>
Mon, 11 Sep 2023 15:21:18 +0000 (05:21 -1000)
Some of the tests trigger OOM and fail. Increase the amount of memory
available so we dont run into these issues.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d22dba482cb19ffcff5abee73f24526ea9d1c2a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/selftest/cases/glibc.py

index cf8c92887b3c98605725e6e7bdffc91a0b23d203..f2ed822bf36d6d05623f3a39cf58d5e1702b10cb 100644 (file)
@@ -61,7 +61,7 @@ class GlibcSelfTestBase(OESelftestTestCase, OEPTestResultTestCase):
             bitbake("core-image-minimal")
 
             # start runqemu
-            qemu = s.enter_context(runqemu("core-image-minimal", runqemuparams = "nographic"))
+            qemu = s.enter_context(runqemu("core-image-minimal", runqemuparams = "nographic", qemuparams = "-m 1024"))
 
             # validate that SSH is working
             status, _ = qemu.run("uname")