zephyr/tests/lib
Martin Åberg 80b9080f9d tests/mem_alloc: check that malloc() objects can be accessed
Adds tests checking that we can use memory allocated by malloc(),
calloc() and realloc() to access objects of some common types,
including uint64_t and double.

It works by doing a number of allocations of various sizes and
dereferencing the returned pointer. The purpose is to catch cases where
the application would trap if accessing the allocated memory. (The
test does not check alignment against the ABI or alignof().)

Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
2021-01-24 10:11:11 -05:00
..
c_lib libc: minimal: add INTn_C macros to stdint.h 2021-01-21 14:50:01 -05:00
cmsis_dsp tests: add filter for some tests using newlib 2020-12-16 08:57:40 -05:00
devicetree Revert "tests: devicetree: add test for devicetree node data" 2021-01-23 18:01:03 -05:00
fdtable tests: lib: fdtable: fix tests after modifying reference counting 2020-08-27 11:42:19 +03:00
gui/lvgl tests: add filter for some tests using newlib 2020-12-16 08:57:40 -05:00
heap tests: enable and run many tests on RISC-V 2021-01-15 13:06:33 -05:00
heap_align lib/os/heap: minimize initial overallocation in the aligned case 2020-11-30 14:50:07 -05:00
json tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00
mem_alloc tests/mem_alloc: check that malloc() objects can be accessed 2021-01-24 10:11:11 -05:00
notify tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00
onoff tests: onoff: use typedef for spinlock key 2020-10-06 19:56:51 -04:00
p4workq tests/lib: Add p4wq test 2021-01-15 11:35:50 -05:00
ringbuffer tests: lib: ringbuffer: Add performance test 2020-11-11 13:17:49 +01:00
sprintf tests/sprintf: FP tests independent of endian 2020-12-04 14:33:43 +02:00