1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/memarray
2021-08-13 19:50:38 +02:00
..
tests tests/memarray: add extend/reduce tests 2021-01-18 11:01:37 +01:00
main.c treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Makefile memarray: add fixed-size block allocator test 2018-04-10 14:37:29 +02:00
Makefile.ci boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
README.md memarray: add fixed-size block allocator test 2018-04-10 14:37:29 +02:00

Expected result

This application should run a number of tests equal to NUMBER_OF_TESTS (Default 12).

At the beginning of the tests memory usage of each thread is printed. At the end of the tests, the threads memory usage is printed once more time.

This test is passed if the memory used by the main thread remains static.

Background

The module memarray is the fixed-size block allocator for RIOT-OS.

This test application is therefore specialized for only testing the use of the module.

This is also inspired by test/malloc.