1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/memarray
2019-11-28 08:47:57 +01:00
..
tests tests/memarray: add automatic test script 2019-11-28 08:47:57 +01:00
main.c tests/memarray: allow overridable macros and print them 2019-11-28 08:47:57 +01:00
Makefile memarray: add fixed-size block allocator test 2018-04-10 14:37:29 +02: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.