OVMS3-idf/components/heap/test_multi_heap_host/Makefile
Deomid Ryabkov 4b7eb1792e Try to merge tail with next block when splitting
When splitting a memory block, check if the next block is free.
If it is, then just extend it upwards instead of creating a new block.
This fixes a bug where when shrinking existing allocations would result in irreversible free space fragmentation.

When testing on the host, test all the poisoning configurations.
2018-04-03 12:30:52 +10:00

19 lines
588 B
Makefile

test: test_poisoning_disabled \
test_poisoning_light \
test_poisoning_comprehensive
test_poisoning_disabled:
@echo ==== HEAP_POISONING_DISABLED ====
CPPFLAGS= $(MAKE) -f Makefile.test clean test
test_poisoning_light:
@echo ==== HEAP_POISONING_LIGHT ====
CPPFLAGS=-DCONFIG_HEAP_POISONING_LIGHT $(MAKE) -f Makefile.test clean test
test_poisoning_comprehensive:
@echo ==== HEAP_POISONING_COMPREHENSIVE ====
CPPFLAGS=-DCONFIG_HEAP_POISONING_COMPREHENSIVE $(MAKE) -f Makefile.test clean test
%:
CPPFLAGS=-DCONFIG_HEAP_POISONING_COMPREHENSIVE $(MAKE) -f Makefile.test $@