diff options
| author | Harish Sadineni <Harish.Sadineni@windriver.com> | 2025-08-22 00:12:26 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-25 17:47:21 +0100 |
| commit | 9284af07f50afeb69ec0fc43e94b55b08c3550f8 (patch) | |
| tree | f174fc7b0dcb3096ed90aabbd2b032273d3c3020 | |
| parent | a6ce306fd35e9734b09a2a5aff6de7eff67abc92 (diff) | |
| download | poky-9284af07f50afeb69ec0fc43e94b55b08c3550f8.tar.gz | |
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>
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/gcc.py | 3 |
1 files changed, 2 insertions, 1 deletions
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): | |||
| 79 | bitbake("core-image-minimal") | 79 | bitbake("core-image-minimal") |
| 80 | 80 | ||
| 81 | # wrap the execution with a qemu instance | 81 | # wrap the execution with a qemu instance |
| 82 | with runqemu("core-image-minimal", runqemuparams = "nographic") as qemu: | 82 | # Increase RAM to 4GB to accommodate some GCC tests that require more than 3GB |
| 83 | with runqemu("core-image-minimal", runqemuparams = "nographic", qemuparams=" -m 4096") as qemu: | ||
| 83 | # validate that SSH is working | 84 | # validate that SSH is working |
| 84 | status, _ = qemu.run("uname") | 85 | status, _ = qemu.run("uname") |
| 85 | self.assertEqual(status, 0) | 86 | self.assertEqual(status, 0) |
