aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-06-21 22:27:24 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-06-22 19:28:36 +0200
commit345c29a4b7321952b916c1b4eb88a03e136919be (patch)
tree7cc4c3361c2fcdab722b3850bf7f678c475698e0 /support
parent134baa08ea45d2f4496b18782be03b2dc2738a4a (diff)
downloadbuildroot-345c29a4b7321952b916c1b4eb88a03e136919be.tar.gz
buildroot-345c29a4b7321952b916c1b4eb88a03e136919be.tar.bz2
support/testing/infra/emulator: increase memory size used by Qemu
By default, Qemu emulates a system with 128 MB of RAM. This is not sufficient for some test cases we have, such as TestPerlDBDmysql, where the initramfs is quite large. Therefore, this commit extends the RAM size emulated by Qemu to 256 MB. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/237108668 Thanks to Arnout for the analysis of the issue. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Acked-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'support')
-rw-r--r--support/testing/infra/emulator.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/testing/infra/emulator.py b/support/testing/infra/emulator.py
index 802e89d4b4..3d3e1750c6 100644
--- a/support/testing/infra/emulator.py
+++ b/support/testing/infra/emulator.py
@@ -38,7 +38,8 @@ class Emulator(object):
qemu_cmd = ["qemu-system-{}".format(qemu_arch),
"-serial", "stdio",
- "-display", "none"]
+ "-display", "none",
+ "-m", "256"]
if options:
qemu_cmd += options