Test of the sys_heap_aligned_alloc() API. This is separate from the existing heap test because aligned_alloc() requires a kconfig to enable it that can change the heap block header format and will impact code coverage of the "small" block variant. It's a fairly simple whitebox test that instantiates a heap and then enumerates all possible alignments within it, with and without pre-allocated data, to verify that the resulting memory is correctly aligned and the heap stays consistent. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
4 lines
40 B
YAML
4 lines
40 B
YAML
tests:
|
|
lib.heap_align:
|
|
tags: heap
|