summaryrefslogtreecommitdiffhomepage
path: root/src/tests/qemu/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-11-03 19:22:13 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-11-10 15:49:28 +0900
commit27e7d2fe25ed1bcfa72b3fc9d9728bcff34ca14d (patch)
tree1f45241b89884ba85a7a2816b755d728cb1229ff /src/tests/qemu/Makefile
parent4f3b7e386cd32cdacdc287aaebd70677040eb316 (diff)
qemu: check for memory leaks
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/tests/qemu/Makefile')
-rw-r--r--src/tests/qemu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile
index 4261b89..0469b3a 100644
--- a/src/tests/qemu/Makefile
+++ b/src/tests/qemu/Makefile
@@ -169,7 +169,7 @@ qemu: $(KERNEL_BZIMAGE)
-nographic \
-smp $(NR_CPUS) \
$(QEMU_MACHINE) \
- -m 192M \
+ -m $$(grep -q CONFIG_DEBUG_KMEMLEAK=y $(KERNEL_PATH)/.config && echo 1G || echo 192M) \
-serial stdio \
-serial file:$(BUILD_PATH)/result \
-no-reboot \