1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-18 19:13:51 +01:00
Marian Buschsieweke 42dacd7c9d
tests/sys/snprintf: Test format specifiers
This adds a simple test applications that runs snprintf on standard
format specifiers and compares the output with the expected output.

The assumption is that internally every stdio implementation uses the
same formatting code for each member of the printf functions family,
so testing snprintf only is sufficient.
2025-04-24 11:46:09 +02:00
..

snprintf

This test aims to test if the stdio implementations correctly implements standard format specifiers. Instead of relying on the transport of stdout to be fast and reliable, it will use snprintf to format in-memory and compare in the app with correctness.