1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/sys/memarray
Frederik Haxel fa0cf05d0a tests: Use size_t print format specifier
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:37 +01:00
..
tests tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
main.c tests: Use size_t print format specifier 2023-12-21 12:02:37 +01:00
Makefile tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +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.