1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/sys/memarray
2023-05-10 12:02:58 +02:00
..
tests tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
main.c tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
Makefile tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
Makefile.ci tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
README.md tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +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.