This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
d214bc5340
zephyr
/
tests
/
lib
/
heap_align
/
prj.conf
4 lines
74 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests/lib: Add heap_align test 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>
2020-06-19 05:17:08 +08:00
CONFIG_ZTEST=y
CONFIG_SYS_HEAP_VALIDATE=y
tests: heap: validate sys_heap_runtime_stats_get API Add CONFIG_SYS_HEAP_RUNTIME_STATS in existing heap tests to enable validation for sys_heap_runtime_stats_get API. Signed-off-by: Chen Peng1 <peng1.chen@intel.com>
2021-11-11 15:39:33 +08:00
CONFIG_SYS_HEAP_RUNTIME_STATS=y